CSS preprocessor as embedded Haskell.

Latest on Hackage:0.13.3

See all snapshots clay appears in

BSD-3-Clause licensed by Sebastiaan Visser
Maintained by Sebastiaan Visser

Clay is a CSS preprocessor like LESS and Sass, but implemented as an embedded domain specific language (EDSL) in Haskell. This means that all CSS selectors and style rules are first class Haskell functions, which makes reuse and composability easy.

The project is described on

The API documentation can be found in the top level module Clay.

0.10 -> 0.10.1
- Expose a render function for single selectors.
- Added super for vertical-align.
- Added support for border-collapse.
- Allow initial for the content property.
- Added support for CSS import.
Thanks to Heather, Collin J. Doering, Fraser Murray and Jonathan Fischoff.
Depends on 3 packages(full list with versions):