css-0.1: Minimal monadic CSS DSL.

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

Show Rule 
Ruleable Rule 
Ruleable (Either Property Rule) 

data Property Source

A CSS property.

Constructors

Property 

Instances