seed-family

0.0.4 • Public • Published

seed-family Build Status npm version

Family mixin pack for Seed

This mixin allows you to target/modify the direct parent of the current selector.

Install

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

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

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

Thanks

  • Shout outs to Alisdair for collaboration on the mixins as well as the naming of this pack!

❤️

Package Sidebar

Install

npm i seed-family

Weekly Downloads

168

Version

0.0.4

License

MIT

Last publish

Collaborators

  • itsjonq