Files
meteor/docs/client/packages/stylus.html
Avital Oliver 5671eaa2b7 Merge branch 'devel' into shark
Conflicts:
	packages/minifiers/package.js
	packages/preserve-inputs/package.js
	packages/test-in-browser/driver.css
	packages/test-in-browser/driver.js
2014-02-25 15:50:36 -08:00

26 lines
861 B
HTML

<template name="pkg_stylus">
{{#markdown}}
## `stylus`
[Stylus](http://learnboost.github.com/stylus/) is a CSS pre-processor with a simple syntax and expressive
dynamic behavior. It allows for more compact stylesheets and
helps reduce code duplication in CSS files.
With the `stylus` package installed, `.styl` files in your application are
automatically compiled to CSS and the results are included in the client
CSS bundle.
The `stylus` package also includes `nib` support. Add `@import 'nib'` to
your `.styl` files to enable cross-browser mixins such as
`linear-gradient` and `border-radius`.
{{#note}}
If you want to `@import` a file, give it the extension `.import.styl`
to prevent Meteor from processing it independently.
{{/note}}
See <http://visionmedia.github.com/nib> for documentation of the nib extensions of Stylus.
{{/markdown}}
</template>