The clay package

[Tags:bsd3, library, test]

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.0.1 -> 0.1
   - Fixed bug in combined selector rendering.
   - Fixed bug in font familty fallback category rendering.
   - Added maxWidth and maxHeight.
   - Fixed example code.
   - Fixed overflowX/overflowY bug.
   - Added some show instance for debugging purposes.
   - Don't print the star (*) selector in the case of refinements.
   - Refinements applied to the top level magically introduce star selector.


Versions 0.0.1, 0.1, 0.1.1, 0.2, 0.3, 0.4, 0.5, 0.5.1, 0.6, 0.7, 0.8,, 0.9,, 0.10, 0.10.1, 0.11, 0.12
Dependencies base (>=4.5 && <5), mtl (>=1 && <2.2), text (==0.11.*) [details]
License BSD3
Author Sebastiaan Visser
Maintainer Sebastiaan Visser <>
Stability Unknown
Category Web, Graphics
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Thu Jan 17 18:26:56 UTC 2013 by SebastiaanVisser
Updated Sun May 3 22:33:52 UTC 2015 by AdamBergmark to revision 1
Distributions LTSHaskell:0.11, NixOS:0.12, Stackage:0.12, Tumbleweed:0.11
Downloads 5114 total (168 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees