Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Infrastructure for parsing & desugaring text related CSS properties.
Synopsis
- data CSSInline = CSSInline Text TextOptions UnicodeBidi
- class Default a where
- def :: a
- data UnicodeBidi
- applyFontInline :: TextOptions -> Font' -> TextOptions
- applyBidi :: Default d => CSSInline -> [InnerNode Text d] -> [InnerNode Text d]
Documentation
Document text with Balkón styling options, CSS stylable.
Instances
PropertyParser CSSInline Source # | |
Defined in Graphics.Layout.Inline.CSS inherit :: CSSInline -> CSSInline Source # priority :: CSSInline -> [Text] Source # shorthand :: CSSInline -> Text -> [Token] -> [(Text, [Token])] Source # longhand :: CSSInline -> CSSInline -> Text -> [Token] -> Maybe CSSInline Source # getVars :: CSSInline -> Props Source # setVars :: Props -> CSSInline -> CSSInline Source # pseudoEl :: CSSInline -> Text -> (CSSInline -> Maybe CSSInline -> CSSInline) -> CSSInline Source # |
data UnicodeBidi Source #
To what degree is the text direction isolated?
Instances
applyFontInline :: TextOptions -> Font' -> TextOptions Source #