hasmin-1.0: CSS Minifier

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

Hasmin.Parser.Value

Description

Parsers for CSS values.

Synopsis

Documentation

valuesFor :: Text -> Parser Values Source #

Given a propery name, it returns a specific parser of values for that property. Fails if no specific parser is found.

valuesFallback :: Parser Values Source #

For cases when CSS hacks are used, e.g.: margin-top: 1px \9;.

url :: Parser Url Source #

Parser for <url>. Assumes "url(" has already been parsed.

stringtype :: Parser StringType Source #

shadowList :: Parser Values Source #

Parser for <shadow> values, used in the box-shadow property.

repeatStyle :: Parser RepeatStyle Source #

Parser for <repeat-style>, used in background-repeat and background.

fontStyle :: Parser Value Source #

Parser for <font-style>, used in the font-style and font properties.