mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
26 lines
875 B
HTML
26 lines
875 B
HTML
<template name="pkg_stylus">
|
|
{{#better_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.
|
|
|
|
{{/better_markdown}}
|
|
</template>
|