Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

seed-button Build Status npm version dependencies Status

Button component pack for Seed!

Install

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

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

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

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

Options

This Pack's variables can be found in _config.scss.

This Pack also has additional configs specifically for color, found in /configs/_color.scss.

Tests

seed-button has tests written with seed-barista (powered by Mocha).

Run tests locally:

npm test