Copyright | (c) 2017 Cristian Adrián Ontivero |
---|---|
License | BSD3 |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
- class ToText a where
- class Minifiable a where
Documentation
Class for types that can be converted to Text. Used for priting the minified results.
class Minifiable a where Source #
Class for types that can be minified
Minifiable Color Source # | |
Minifiable Resolution Source # | |
Minifiable Frequency Source # | |
Minifiable Duration Source # | |
Minifiable Angle Source # | |
Minifiable Distance Source # | |
Minifiable TransformFunction Source # | There are a series of equivalences to keep in mind: translate(0), translate3d(0, 0, 0), translateX(0), translateY(0), translateZ(0), scale(1), scaleX(1), scaleY(1), scaleZ(1), rotate(0), rotate3d(1,1,1,0), rotateX(0), rotateY(0), rotateZ(0), perspective(infinity), matrix(1,0,0,1,0,0), matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1), skewX(0), skewY(0), and the shortest of them all: skew(0) All of these translate to the 4x4 identity matrix. |
Minifiable Values Source # | |
Minifiable Url Source # | |
Minifiable Value Source # | |
Minifiable Declaration Source # | |
Minifiable Rule Source # | |
Minifiable KeyframeBlock Source # | |
Minifiable KeyframeSelector Source # | |
Minifiable Expression Source # | |
Minifiable MediaQuery Source # | |