seed-button
v0.3.0
Published
Button component pack for Seed
Maintainers
Readme
seed-button

Button component pack for Seed!
Install
npm install seed-button --saveDocumentation
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