| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Page.Css
Contents
Synopsis
- fill :: Color -> Css
- stroke :: Color -> Css
- strokeWidth :: Size Position -> Css
- crispEdges :: ShapeRendering
- optimizeSpeed :: ShapeRendering
- geometricPrecision :: ShapeRendering
- shapeRendering :: ShapeRendering -> Css
- type Css = StyleM ()
- render :: Css -> Text
- renderWith :: Config -> [App] -> Css -> Text
- compact :: Config
- data PageCss
Documentation
crispEdges :: ShapeRendering Source #
optimizeSpeed :: ShapeRendering Source #
geometricPrecision :: ShapeRendering Source #
shapeRendering :: ShapeRendering -> Css Source #
Render a stylesheet with the default configuration. The pretty printer is used by default.
renderWith :: Config -> [App] -> Css -> Text #
Render a stylesheet with a custom configuration and an optional outer scope.
Constructors
| PageCss Css | |
| PageCssText Text |
Instances
| Eq PageCss Source # | |
| Show PageCss Source # | |
| Generic PageCss Source # | |
| Semigroup PageCss Source # | |
| Monoid PageCss Source # | |
| type Rep PageCss Source # | |
Defined in Web.Page.Css type Rep PageCss = D1 (MetaData "PageCss" "Web.Page.Css" "web-rep-0.1.3-Fpb1hkGM3NHAYnHAhvar5R" False) (C1 (MetaCons "PageCss" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Css)) :+: C1 (MetaCons "PageCssText" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) | |