Sass utilities: Mixins, variables and functions.
- Run
npm install @grottopress/scss
- Import into your project.
- Use the provided variables, functions and mixins in your project's styles.
Import into your project, thus:
@import '/path/to/node_modules/@grottopress/scss/src/all';
#comments {
// ...
font-family: $arial;
// ...
}
#header {
// ...
font-family: $helvetica;
// ...
}
.modal {
@include size(400px);
@include position(absolute, 20% null null 20%);
// ...
}
.grid {
@include paragraph;
@include grid((width: 25%, gutter: 20px));
// ...
}
- Fork it
- Switch to the
master
branch:git checkout master
- Create your feature branch:
git checkout -b my-new-feature
- Make your changes, updating changelog and documentation as appropriate.
- Commit your changes:
git commit
- Push to the branch:
git push origin my-new-feature
- Submit a new Pull Request against the
GrottoPress:master
branch.