Stylus plugin for Polvo.
CoffeeScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
src
tests
.gitignore
.travis.yml
History.md
Makefile
README.md
package.json

README.md

Polvo Stylus

With this plugin, Polvo can handle Stylus source files.

Stories in Ready

Build Status Coverage Status

Dependency Status NPM version

Install

You won't need to install it since it comes built in in Polvo.

Enjoy.

Instructions

Just put your .styl files in your input dirs and it will be ready for use.

Partials

There's a built in support for partials in Stylus, Polvo will handle them in a particular conventioned way.

Every file starting with _ won't be compiled alone. Instead, if some other file that doesn't start with _ imports it, it will be compiled within it.

The import tag follows the Stylus include's default syntax.

To include a partial in your stylus, just:

  1. Name your patial accordingly so it starts with _
  2. Include it in any of your styl files by using the syntax
@import "./path/to/your/_partial-name-here"

Partials are referenced relatively.

Nib

Nib is play be default, don';'t need to import it in order to use.