sass-config

DotConfig for SASS

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
sass-config
401.1.26 years ago7 years agoMinified + gzip package size for sass-config in KB

Readme

sass-config
sass-config
Bower NPM
DotConfig for SASS

Installation

Install With Bower

$ bower install sass-config --save

Install With NPM:

$ npm install sass-config --save

Install Manually

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 sass-config package is open-sourced software licensed under the MIT license.