seed-planter

    0.0.1 • Public • Published

    seed-planter Build Status npm version

    Initializer for Seed!

    seed-planter helps ensure that your sass/scss code is initialized only once! This is really handy if you're @importing the same code in multiple files.

    Install

    npm install seed-planter --save-dev
    

    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-planter');
     
    gulp.task('sass', function () {
      return gulp.src('./sass/**/*.scss')
        .pipe(sass({
          includePaths: pack
        }))
        .pipe(gulp.dest('./css'));
    });

    Once that is setup, simply @import seed-planter as needed in your .scss file:

    // Packs 
    @import "pack/seed-planter/_index";

    Usage

    @include _plant(my-awesome-pack-name) {
      // Your pack's content here! 
      @import "./mixins/awesome-mixin";
    }

    Install

    npm i seed-planter

    DownloadsWeekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • itsjonq