clay: CSS preprocessor as embedded Haskell.
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.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!
Modules
[Index]
- Clay
- Clay.Animation
- Clay.Attributes
- Clay.Background
- Clay.Border
- Clay.Box
- Clay.Color
- Clay.Common
- Clay.Display
- Clay.Dynamic
- Clay.Elements
- Clay.Filter
- Clay.Font
- Clay.FontFace
- Clay.Geometry
- Clay.Gradient
- Clay.List
- Clay.Mask
- Clay.Media
- Clay.Property
- Clay.Pseudo
- Clay.Render
- Clay.Selector
- Clay.Size
- Clay.Stylesheet
- Clay.Text
- Clay.Time
- Clay.Transform
- Clay.Transition
Downloads
- clay-0.9.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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
Candidates
Versions [RSS] | 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.8.0.1, 0.9, 0.9.0.1, 0.10, 0.10.1, 0.11, 0.12, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.13.2, 0.13.3, 0.14.0, 0.15.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 <code@fvisser.nl> |
Revised | Revision 1 made by AdamBergmark at 2015-05-03T22:37:41Z |
Category | Web, Graphics |
Home page | http://fvisser.nl/clay |
Bug tracker | http://github.com/sebastiaanvisser/clay/issues |
Source repo | head: git clone git://github.com/sebastiaanvisser/clay.git |
Uploaded | by SebastiaanVisser at 2014-06-19T10:26:57Z |
Distributions | Arch:0.15.0, LTSHaskell:0.14.0, NixOS:0.14.0, Stackage:0.15.0 |
Reverse Dependencies | 18 direct, 11 indirect [details] |
Downloads | 27854 total (115 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Successful builds reported [all 1 reports] |