stylist-2.7.0.1: Apply CSS styles to a document tree.
Safe HaskellNone
LanguageHaskell2010

Data.CSS.Preprocessor.Text

Description

Lowers certain CSS properties to plain text.

Synopsis

Documentation

data TextStyle p Source #

PropertyParser decorator that parses & lowers certain CSS properties to plain text.

Instances

Instances details
PropertyParser p => PropertyParser (TextStyle p) Source # 
Instance details

Defined in Data.CSS.Preprocessor.Text

Methods

temp :: TextStyle p #

inherit :: TextStyle p -> TextStyle p #

priority :: TextStyle p -> [Text] #

shorthand :: TextStyle p -> Text -> [Token] -> [(Text, [Token])] #

longhand :: TextStyle p -> TextStyle p -> Text -> [Token] -> Maybe (TextStyle p) #

getVars :: TextStyle p -> Props #

setVars :: Props -> TextStyle p -> TextStyle p #

pseudoEl :: TextStyle p -> Text -> (TextStyle p -> Maybe (TextStyle p) -> TextStyle p) -> TextStyle p #

resolve :: PropertyParser p => StyleTree (TextStyle p) -> StyleTree p Source #

Returns inner PropertyParser with text properties applied.