Safe Haskell | None |
---|---|
Language | Haskell2010 |
Patat.Theme
Documentation
Constructors
Theme | |
Fields
|
Instances
FromJSON Theme Source # | |
Defined in Patat.Theme Methods parseJSON :: Value -> Parser Theme parseJSONList :: Value -> Parser [Theme] omittedField :: Maybe Theme | |
ToJSON Theme Source # | |
Defined in Patat.Theme Methods toEncoding :: Theme -> Encoding toJSONList :: [Theme] -> Value toEncodingList :: [Theme] -> Encoding | |
Monoid Theme Source # | |
Semigroup Theme Source # | |
Show Theme Source # | |
Eq Theme Source # | |
defaultTheme :: Theme Source #
Instances
FromJSON Style Source # | |
Defined in Patat.Theme Methods parseJSON :: Value -> Parser Style parseJSONList :: Value -> Parser [Style] omittedField :: Maybe Style | |
ToJSON Style Source # | |
Defined in Patat.Theme Methods toEncoding :: Style -> Encoding toJSONList :: [Style] -> Value toEncodingList :: [Style] -> Encoding | |
Monoid Style Source # | |
Semigroup Style Source # | |
Show Style Source # | |
Eq Style Source # | |
newtype SyntaxHighlighting Source #
Constructors
SyntaxHighlighting | |
Fields
|
Instances
syntaxHighlight :: Theme -> TokenType -> Maybe Style Source #