eggshell
Simple SASS scaffolding for prototyping Web/mobile apps, built on top of node-bourbon.Just some sass file build on top of node-bourbon project.
Requirements
Installation
To install as a development dependency, run:
$ npm install --save-dev eggshell
If you need it in production, replace --save-dev
with --save
.
gulp.js Usage
Using the gulp-sass plugin.
var gulp = require('gulp');
var sass = require('gulp-sass');
gulp.task('sass', function () {
gulp.src('test.scss')
.pipe(sass({
includePaths: require('eggshell').includePaths
}))
.pipe(gulp.dest('dist'));
})
See more from the example folder.
Settings
eggshell comes with a set of colors, sizes and fonts set up as defaults, all declared in _variables.scss
:
/* Colors */ $), 60%) !) !) !) !/* Spacing */ $/* Sizes */ $/* Font */ $
If you intend to override these values, simply assign a default value before importing eggshell in your SASS file:
$//;
This will replace $blue
with the #0066CC
value instead of the #1F8DD6
default.
License
MIT