hasmin-1.0.2: CSS Minifier

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

Hasmin.Types.Dimension

Description

CSS Dimension data types: <length>, <angle>, <time>, <frequency>, and <resolution>. Provides conversion of absolute dimensions into other equivalent dimensions.

Synopsis

Documentation

data Length #

The <length> CSS data type

data Angle #

The <angle> CSS data type

Instances

data Time #

The <time> CSS data type

Constructors

Time Number TimeUnit 

Instances

Eq Time # 

Methods

(==) :: Time -> Time -> Bool #

(/=) :: Time -> Time -> Bool #

Show Time # 

Methods

showsPrec :: Int -> Time -> ShowS #

show :: Time -> String #

showList :: [Time] -> ShowS #

ToText Time # 

Methods

toText :: Time -> Text #

toBuilder :: Time -> Builder #

Minifiable Time # 

Methods

minify :: Time -> Reader Config Time #