CSS preprocessor as embedded Haskell.

Version on this page:0.11
LTS Haskell 17.10:0.13.3
Stackage Nightly 2021-05-05:0.13.3
Latest on Hackage:0.13.3

See all snapshots clay appears in

BSD-3-Clause licensed by Sebastiaan Visser
Maintained by Sebastiaan Visser
This version can be pinned in stack with:clay-0.11@sha256:e77cef9ac1fe64d18c48e2a3b3b1860807ddb79fbf14385dddd68192ba478b40,2307
Depends on 3 packages(full list with versions):

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.