@hackage shakespeare-css1.0.7.3
Stick your haskell variables into css at compile time.
Categories
License
MIT
Maintainer
Michael Snoyman <michael@snoyman.com>
Links
Versions
Deprecated
Dependencies (7)
- base >=4 && <5
- parsec >=2 && <4
- process >=1.0
- shakespeare >=1.2.1 && <1.3
- template-haskell
- text >=0.11.1.1 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