patat-0.14.2.0: Terminal-based presentations using Pandoc
Safe HaskellNone
LanguageHaskell2010

Patat.Theme

Documentation

data Theme Source #

Constructors

Theme 

Fields

Instances

Instances details
FromJSON Theme Source # 
Instance details

Defined in Patat.Theme

Methods

parseJSON :: Value -> Parser Theme

parseJSONList :: Value -> Parser [Theme]

omittedField :: Maybe Theme

ToJSON Theme Source # 
Instance details

Defined in Patat.Theme

Methods

toJSON :: Theme -> Value

toEncoding :: Theme -> Encoding

toJSONList :: [Theme] -> Value

toEncodingList :: [Theme] -> Encoding

omitField :: Theme -> Bool

Monoid Theme Source # 
Instance details

Defined in Patat.Theme

Semigroup Theme Source # 
Instance details

Defined in Patat.Theme

Methods

(<>) :: Theme -> Theme -> Theme

sconcat :: NonEmpty Theme -> Theme

stimes :: Integral b => b -> Theme -> Theme

Show Theme Source # 
Instance details

Defined in Patat.Theme

Methods

showsPrec :: Int -> Theme -> ShowS

show :: Theme -> String

showList :: [Theme] -> ShowS

Eq Theme Source # 
Instance details

Defined in Patat.Theme

Methods

(==) :: Theme -> Theme -> Bool

(/=) :: Theme -> Theme -> Bool

newtype Style Source #

Constructors

Style 

Fields

Instances

Instances details
FromJSON Style Source # 
Instance details

Defined in Patat.Theme

Methods

parseJSON :: Value -> Parser Style

parseJSONList :: Value -> Parser [Style]

omittedField :: Maybe Style

ToJSON Style Source # 
Instance details

Defined in Patat.Theme

Methods

toJSON :: Style -> Value

toEncoding :: Style -> Encoding

toJSONList :: [Style] -> Value

toEncodingList :: [Style] -> Encoding

omitField :: Style -> Bool

Monoid Style Source # 
Instance details

Defined in Patat.Theme

Semigroup Style Source # 
Instance details

Defined in Patat.Theme

Methods

(<>) :: Style -> Style -> Style

sconcat :: NonEmpty Style -> Style

stimes :: Integral b => b -> Style -> Style

Show Style Source # 
Instance details

Defined in Patat.Theme

Methods

showsPrec :: Int -> Style -> ShowS

show :: Style -> String

showList :: [Style] -> ShowS

Eq Style Source # 
Instance details

Defined in Patat.Theme

Methods

(==) :: Style -> Style -> Bool

(/=) :: Style -> Style -> Bool

newtype SyntaxHighlighting Source #

Constructors

SyntaxHighlighting 

Fields

Instances

Instances details
FromJSON SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

Methods

parseJSON :: Value -> Parser SyntaxHighlighting

parseJSONList :: Value -> Parser [SyntaxHighlighting]

omittedField :: Maybe SyntaxHighlighting

ToJSON SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

Monoid SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

Semigroup SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

Show SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

Methods

showsPrec :: Int -> SyntaxHighlighting -> ShowS

show :: SyntaxHighlighting -> String

showList :: [SyntaxHighlighting] -> ShowS

Eq SyntaxHighlighting Source # 
Instance details

Defined in Patat.Theme

syntaxHighlight :: Theme -> TokenType -> Maybe Style Source #