seed-overflow

0.0.3 • Public • Published

seed-overflow Build Status npm version dependencies Status

Overflow utility pack for Seed!

File size

Minified Gzipped
3.2 KB 435 B

Install

npm install seed-overflow --save

Documentation

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

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

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

Options

The following variables can be found in _config.scss

// Namespaces 
$seed-overflow-namespace: "u-overflow" !default;
 
// Overflow 
$seed-overflow: (
  visiblevisible,
  hiddenhidden,
  scrollscroll,
  autoauto,
  x-visiblevisible,
  x-hiddenhidden,
  x-scrollscroll,
  x-autoauto,
  y-visiblevisible,
  y-hiddenhidden,
  y-scrollscroll,
  y-autoauto
!default;

Package Sidebar

Install

npm i seed-overflow

Weekly Downloads

305

Version

0.0.3

License

MIT

Last publish

Collaborators

  • itsjonq