clay

CSS preprocessor as embedded Haskell.

http://fvisser.nl/clay

Version on this page:0.10.1@rev:1
LTS Haskell 18.11:0.13.3
Stackage Nightly 2021-09-18: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.10.1@sha256:8ecb3c320c9470f2bf250552d7fac738520d90d28e8e90b11922d1c4940a0263,2241
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 http://fvisser.nl/clay.

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.