Skip to content

straker/gulp-livingcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

gulp-livingcss

Gulp wrapper for the LivingCSS Style Guide Generator.

Issues with the output should be reported on the LivingCSS github repo.

Install

$ npm install --save-dev gulp-livingcss

Usage

var gulp = require('gulp');
var livingcss = require('gulp-livingcss');

gulp.task('default', function () {
  gulp.src('src/styles.css')
    .pipe(livingcss('dist'))
    .pipe(gulp.dest('dist'))
});

API

livingcss(dest, [options])

dest

The dest parameter is used to create the correct relative URLs from the Style Guide to the linked stylesheets. See the LivingCSS dest.

options

See the LivingCSS options.

  • streamContext - If the task should return the context object rather than the generated HTML file.