Copyright | (c) 2017 Cristian Adrián Ontivero |
---|---|
License | BSD3 |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell2010 |
Parsers for CSS <gradient> values.
- radialgradient :: Parser Gradient
- lineargradient :: Parser Gradient
- sideOrCorner :: Parser (Side, Maybe Side)
- colorStopList :: Parser [ColorStop]
- colorStop :: Parser ColorStop
Documentation
radialgradient :: Parser Gradient Source #
lineargradient :: Parser Gradient Source #
Assumes "linear-gradient(", or one of its prefixed equivalents, has been parsed. : [angle|to side-or-corner ,]? color-stop [, color-stop]+
sideOrCorner :: Parser (Side, Maybe Side) Source #
colorStopList :: Parser [ColorStop] Source #