- Copy these files to your Sass project.
- This fork-able version requires:
Add them to your package.json with:
npm install --save-dev support-for typey chroma-sass- Add support-for's
sassdirectory to your nodeSass'includePathsoption.
var sass = require('node-sass'),
path = require('path');
sass.render({
file: scss_filename,
includePaths: [
path.join(__dirname, 'node_modules/support-for/sass'),
path.join(__dirname, 'node_modules/typey/stylesheets'),
]
}, function(err, result) { /*...*/ });If you are not using node-sass with libSass, you probably already know how to include 3rd party libraries into your Sass project.
- Copy these files to your Sass project.
- This fork-able version requires the support-for Sass module and the typey Sass module. Add support-for's
sassdirectory and typey'sstylesheetsdirectory to your libSass include paths in the "usual way".
In addition to copying these files to your Sass project, you'll also need to:
- Edit your
Gemfilefile to add:
gem 'support-for', '~> 1.0'
gem 'typey', '~> 1.0.0.beta.7'- If you use Compass, edit your
config.rbfile to add:
require 'support-for'
require 'typey'- Update your local Gems with:
bundle install