Safe Haskell | None |
---|---|
Language | Haskell2010 |
Graphics.Layout.Inline.CSS
Description
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.
Constructors
CSSInline Text TextOptions UnicodeBidi |
Instances
PropertyParser CSSInline Source # | |
Defined in Graphics.Layout.Inline.CSS Methods inherit :: CSSInline -> CSSInline priority :: CSSInline -> [Text] shorthand :: CSSInline -> Text -> [Token] -> [(Text, [Token])] longhand :: CSSInline -> CSSInline -> Text -> [Token] -> Maybe CSSInline setVars :: Props -> CSSInline -> CSSInline pseudoEl :: CSSInline -> Text -> (CSSInline -> Maybe CSSInline -> CSSInline) -> CSSInline |
data UnicodeBidi Source #
To what degree is the text direction isolated?
Constructors
BdNormal | |
BdEmbed | |
BdOverride | |
BdIsolate | |
BdIsolateOverride | |
BdPlainText |
Instances
applyFontInline :: TextOptions -> Font' -> TextOptions Source #