clay

CSS preprocessor as embedded Haskell.

http://fvisser.nl/clay

Version on this page:0.10.1@rev:2
LTS Haskell 22.39:0.14.0@rev:1
Stackage Nightly 2024-10-31:0.15.0@rev:1
Latest on Hackage:0.15.0@rev:1

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:f0899c7594ad9999a1871cc4dd0a7de5dc97574ef9d5e83db2ebdfb3089f60dc,2337
Depends on 3 packages(full list with versions):
Used by 2 packages in nightly-2016-03-29(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.