clay-0.2: CSS preprocessor as embedded Haskell.

Safe HaskellNone

Clay.Render

Synopsis

Documentation

data Config Source

Constructors

Config 

pretty :: ConfigSource

Configuration to print to a pretty human readable CSS output.

compact :: ConfigSource

Configuration to print to a compacted unreadable CSS output.

render :: Css -> TextSource

Render a stylesheet with the default configuration. The pretty printer is used by default.

putCss :: Css -> IO ()Source

Render to CSS using the default configuration (pretty) and directly print to the standard output.

renderWith :: Config -> [App] -> Css -> TextSource

Render a stylesheet with a custom configuration and an optional outer scope.