sass-config
DotConfig for SASS
Installation
Install With Bower
$ bower install sass-config --save
Install With NPM:
$ npm install sass-config --save
Install Manually
- Download Package Archive
- Extract zip to your project.
Usage
Insert following code in top of your file:
@import "/bower_components/sass-config/config";
Example
@import "bower_components/sass-config/config";
// configuration #1
$config-example: (
foo: 'bar',
baz: 'qux'
);
// configuration #2
$config-example2: (
abc: 'def'
);
// set configuration
@include config('example', $config-example);
@include config('example2', $config-example2);
// get config value
@debug config('example.baz'); // Output: "qux"
@debug config('example2.abc'); // Output: "def"
License
The BEM package is open-sourced software licensed under the MIT license.