intval / docpad-plugin-stylus

Adds support for the Stylus CSS pre-processor to DocPad

Home Page:http://docpad.org/plugin/stylus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stylus Plugin for DocPad

Build Status NPM version Gittip donate button Flattr donate button PayPayl donate button

Adds support for the Stylus CSS pre-processor to DocPad

Convention: .css.styl|stylus

Install

docpad install stylus

Configure

Use nib

Nib is a small and powerful library for the Stylus CSS language, providing robust cross-browser CSS3 mixins to make your life as a designer easier. By default nib support is enabled, but it can be disabled by setting the useNib option to false.

This allows you to include the entire library by using:

@import 'nib'

Although, if you prefer to use individual parts like gradient support, you can by using:

@import 'nib/gradients'

Compress

By default we compress the output for all environments except the development environment. Set the compress option to either true or false to change this.

History

You can discover the history inside the History.md file

Contributing

You can discover the contributing instructions inside the Contributing.md file

License

Licensed under the incredibly permissive MIT License
Copyright © 2012+ Bevry Pty Ltd us@bevry.me
Copyright © 2011 Benjamin Lupton b@lupton.cc

About

Adds support for the Stylus CSS pre-processor to DocPad

http://docpad.org/plugin/stylus

License:Other


Languages

Language:CoffeeScript 92.4%Language:CSS 7.6%