CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
functions
mixins added tests to v1 Dec 10, 2016
test added tests to v1 Dec 10, 2016
.editorconfig added tests to v1 Dec 10, 2016
.gitignore
LICENSE Initial commit Dec 30, 2015
README.md
_config.scss added tests to v1 Dec 10, 2016
bower.json
gulpfile.js
package.json

README.md

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.