clay-0.10.1: CSS preprocessor as embedded Haskell.

Safe HaskellNone
LanguageHaskell98

Clay.Render

Synopsis

Documentation

pretty :: Config Source

Configuration to print to a pretty human readable CSS output.

compact :: Config Source

Configuration to print to a compacted unreadable CSS output.

render :: Css -> Text Source

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 -> Text Source

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

renderSelector :: Selector -> Text Source

Render a single CSS Selector.