seed-dash

Config utility pack for Seed

Usage no npm install needed!

<script type="module">
  import seedDash from 'https://cdn.skypack.dev/seed-dash';
</script>

README

seed-dash Build Status npm version Dependency Status

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";