@hackage shakespeare-css1.1.0
Stick your haskell variables into css at compile time. (deprecated)
Categories
License
MIT
Maintainer
Michael Snoyman <michael@snoyman.com>
Links
Versions
Deprecated
Dependencies (2)
- base >=4 && <5
- shakespeare >=2.0 Show all…
Dependents (22)
@hackage/yesod-default, @hackage/yesod-bin, @hackage/yesod-mangopay, @hackage/acme-everything, @hackage/yesod-form, @hackage/yesod-core, Show all…
Shakespeare is a template family for type-safe, efficient templates with simple variable interpolation. Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. In this case, the variable type needs a ToCss instance.
This package contains 2 css template languages. The Cassius language uses whitespace to avoid the need for closing brackets and semi-colons. Lucius does not care about whitespace and is a strict superset of css. There are also some significant conveniences added for css.
Please see http://www.yesodweb.com/book/shakespearean-templates for a more thorough description and examples