css-0.2: Minimal monadic CSS DSL.

Safe HaskellNone
LanguageHaskell98

Language.CSS.Types

Description

CSS generation.

Synopsis

Documentation

newtype CSSM x a Source

The CSS writer.

Constructors

CSSM 

Fields

unCSS :: Writer [x] a
 

Instances

Monad (CSSM x) 
Functor (CSSM x) 
MonadWriter [x] (CSSM x) 

type CSS x = CSSM x () Source

data Rule Source

A CSS rule.

Constructors

Rule 

Instances

data Property Source

A CSS property.

Constructors

Property 

Instances