seed-dash
v0.0.2
Published
Config utility pack for Seed
Downloads
4,694
Maintainers
Readme
seed-dash
Config utility pack for Seed!
seed-dash uses Underscore/lodash-like methods such as _get
, _set
, and _extend
to make it easier to adjust configuration variables (especifically lists and maps).
If you're looking for a much more complete Underscore/lodash-like experience for Sass, we highly recommend checking out Sass Dash instead!
Install
npm install seed-dash --save
Documentation
Check out our documentation of this pack.
Basic Usage
SCSS
This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:
var gulp = require('gulp');
var sass = require('gulp-sass');
var pack = require('seed-dash');
gulp.task('sass', function () {
return gulp.src('./sass/**/*.scss')
.pipe(sass({
includePaths: pack
}))
.pipe(gulp.dest('./css'));
});
Once that is setup, simply @import
seed-dash as needed in your .scss
file:
// Packs
@import "pack/seed-dash/_index";