clay: CSS preprocessor as embedded Haskell.

[ bsd3, graphics, library, web ] [ Propose Tags ]
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, 0.12.1, 0.12.2, 0.12.3, 0.13.0 (info)
Dependencies base (>=4.5 && <5), mtl (>=1 && <2.3), text (>=0.11 && <1.2) [details]
License BSD-3-Clause
Author Sebastiaan Visser
Maintainer Sebastiaan Visser <>
Revised Revision 1 made by AdamBergmark at Sun May 3 22:37:41 UTC 2015
Category Web, Graphics
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by SebastiaanVisser at Thu Jun 19 10:26:57 UTC 2014
Distributions LTSHaskell:0.12.2, NixOS:0.13.0, openSUSE:0.12.2
Downloads 10528 total (113 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI

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.8 -> 0.9
 - Added list-style-type property.
 - Added some CSS3 selectors and pseudo-classes.
 - Added some missing HTML5 elements.
 - Added keyframes support.
 - Fixed bug in linear in transition.
 - Added Initial and Unset type classes.
 - Added animation related styling rules.
 - Restored old renderer.
 - Fixed bunch of warnings.
 - Added :last-child pseudo selector.
 - Stub test suite
 Thanks to Sergei Trofimovich, Levi Ad, Ian D. Bollinger, Ben Gamari and Oly Mi!




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees