0.0.1 • Published 8 years ago
seed-fieldset v0.0.1
seed-fieldset
Fieldset component pack for Seed!
Install
npm install seed-fieldset --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-fieldset');
gulp.task('sass', function () {
return gulp.src('./sass/**/*.scss')
.pipe(sass({
includePaths: pack
}))
.pipe(gulp.dest('./css'));
});
Once that is setup, simply @import
seed-fieldset as needed in your .scss
file:
// Packs
@import "pack/seed-fieldset/_index";
Options
The following variables can be found in _config.scss
// Namespace
$seed-fieldset-namespace: c-fieldset !default;
// Configs
$seed-fieldset-margin-bottom: 20px !default;
0.0.1
8 years ago