seed-publish

Mixins that manage rendered CSS from modular importing


Keywords
bem, css, design, functional, guard, header, import, itcss, mixin, modular, oocss, publish, performance, seed, seed-pack, scss
License
MIT
Install
npm install seed-publish@0.2.0

Documentation

seed-publish Build Status npm version

Mixins that manage rendered CSS from modular importing

Install

npm install seed-publish --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-publish');

gulp.task('sass', function () {
  return gulp.src('./sass/**/*.scss')
    .pipe(sass({
      includePaths: pack
    }))
    .pipe(gulp.dest('./css'));
});

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

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