Skip to content

zgabievi/sass-config

Repository files navigation

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.