A scss port of stylus-mixins, with some added features and modernisation.
TODO:
- Documentation in progress. For now, read test files for example usage.
npm install --save backline-mixins
or
yarn add backline-mixins
Add backline-mixins
to your node-sass includePaths option.
{
loader: 'sass-loader',
options: {
includePaths: [
...require('backline-mixins').includePaths
]
}
}
Import backline-mixins in each .scss
as required
@import 'backline-mixins';
Clone this repo and install dependencies. All styles have test coverage and Prettier formatting to ensure everything works as expected.
yarn test
This project uses SassDoc to generate docs using documentation-specific comments.
To regenerate documentation, run:
yarn docs