Sass-Boost
A library of commonly used custom Sass functions.
Sass-Boost
A library of commonly used custom Sass functions
View Documentation (via SassDoc)
Requirements
- Sass 3.3+
Installation
Ensure your paths are correct as they may differ from below
Via NPM
npm install Sass-Boost --save
;
Via Bower
bower install Sass-Boost --save
;
As Git-Submodule
git submodule add https://github.com/esr360/Sass-Boost.git vendor
;
Download
;
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()
power()
string-replace()
strip-units()
Development
The Sass unit test framework is Sass True
Further Requirements
- 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
Changelog
Version 1.1.1
Released: 29th December 2017
Release Notes
- Updating
map-merge-deep
function
Version 1.1.0
Released: 29th May 2016
Release Notes
- New function -
is-greyscale()
- New function -
list-remove()
- New function -
list-remove-duplicates()
- New function -
list-replace()
- New function -
strip-unit()
- New function -
pow()