seed-vertical-align

0.0.1 • Public • Published

seed-vertical-align Build Status npm version

Vertical-align utility pack for Seed!

Install

npm install seed-vertical-align --save

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

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

// Packs 
@import "pack/seed-vertical-align/_index";

Options

The following variables can be found in _config.scss

// Namespace 
$seed-vertical-align-namespace: u-va !default;
 
// Alignment 
$seed-vertical-align-alignments: (
  bottombottom,
  inheritinherit,
  initial: initial,
  middlemiddle,
  text-bottomtext-bottom,
  text-toptext-top,
  toptop,
!default;

Package Sidebar

Install

npm i seed-vertical-align

Weekly Downloads

307

Version

0.0.1

License

MIT

Last publish

Collaborators

  • itsjonq