Sass-Boost
v1.1.1
Published
A library of commonly used custom Sass functions.
Downloads
178
Readme
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
@import '../node_modules/Sass-Boost/src/sass-boost';
Via Bower
bower install Sass-Boost --save
@import '../bower_components/Sass-Boost/src/sass-boost';
As Git-Submodule
git submodule add https://github.com/esr360/Sass-Boost.git vendor
@import '../vendor/Sass-Boost/src/sass-boost';
Download
@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()
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()