Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
functions
mixins
test
.editorconfig
.gitignore
LICENSE
README.md
_config.scss
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.