hamlet-0.7.1: Haml-like template files that are compile-time checked

Text.Cassius

Contents

Synopsis

Datatypes

type Cassius url = (url -> [(String, String)] -> String) -> CssSource

type Css = [Css']Source

Type class

class ToCss a whereSource

Methods

toCss :: a -> TextSource

Rendering

renderCassius :: (url -> [(String, String)] -> String) -> Cassius url -> TextSource

Parsing

ToCss instances

Color

data Color Source

Constructors

Color Word8 Word8 Word8 

Instances