hasmin-1.0.2: CSS Minifier

Copyright(c) 2017 Cristian Adrián Ontivero
LicenseBSD3
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Hasmin.Parser.Gradient

Description

Parsers for CSS <gradient> values.

Synopsis

Documentation

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 #

colorStop :: Parser ColorStop Source #