A library of commonly used custom Sass functions
View Documentation (via SassDoc)
- Sass 3.3+
Ensure your paths are correct as they may differ from below
npm install Sass-Boost --save
@import '../node_modules/Sass-Boost/src/sass-boost';bower install Sass-Boost --save
@import '../bower_components/Sass-Boost/src/sass-boost';git submodule add https://github.com/esr360/Sass-Boost.git vendor
@import '../vendor/Sass-Boost/src/sass-boost';@import 'PATH/TO/sass-boost';You now have access to the following functions:
get-keys()is-grayscale()list-remove()list-remove-duplicates()list-replace()list-reverse()map-get-deep()map-merge-deep()map-reverse()map-search()map-set()map-set-deep()pow()string-replace()strip-units()
The Sass unit test framework is Sass True
- Node.js (+ npm)
- Grunt (
npm install -g grunt-cli) - Scss Lint (
gem install scss-lint)
Install Node modules:
npm install
To lint the source files, run unit tests, generate documentation and distribution file, run the following command:
grunt compile
Released: 29th December 2017
- Updating
map-merge-deepfunction
Released: 29th May 2016
- New function -
is-greyscale() - New function -
list-remove() - New function -
list-remove-duplicates() - New function -
list-replace() - New function -
strip-unit() - New function -
pow()