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-list');
gulp.task('sass',function(){
returngulp.src('./sass/**/*.scss')
.pipe(sass({
includePaths: pack
}))
.pipe(gulp.dest('./css'));
});
Once that is setup, simply @importseed-list as needed in your .scss file:
// Packs
@import"pack/seed-list/_index";
Note: Because seed-list has dependencies, its includePaths output will be an array. If you're including other paths in addition to seed-grid, you will need to flatten the array. An easy way to do this is to use sass-pathfinder.
Example with sass-pathfinder:
var gulp =require('gulp');
var sass =require('gulp-sass');
var seedList =require('seed-list');
var pathfinder =require('sass-pathfinder');
gulp.task('sass',function(){
returngulp.src('./sass/**/*.scss')
.pipe(sass({
includePaths:pathfinder(
'./scss/vendor/example',
'./scss/plugins/super-awesome-plugin',
seedList
)
}))
.pipe(gulp.dest('./css'));
});
Options
The following variables can be found in _config.scss