Copyright | (c) 2017 Cristian Adrián Ontivero |
---|---|
License | BSD3 |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
- data Config = Config {
- colorSettings :: ColorSettings
- dimensionSettings :: DimensionSettings
- gradientSettings :: GradientSettings
- shouldUsePropertyTraits :: Bool
- shouldCleanRules :: Bool
- shouldMinifyTimingFunctions :: Bool
- shouldMinifyFilterFunctions :: Bool
- shouldRemoveQuotes :: Bool
- fontweightSettings :: FontWeightSettings
- shouldMinifyTransformOrigin :: Bool
- shouldMinifyMicrosyntax :: Bool
- shouldMinifyKeyframeSelectors :: Bool
- shouldMinifyTransformFunction :: Bool
- shouldConvertEscaped :: Bool
- shouldConvertNullPercentages :: Bool
- shouldRemoveEmptyBlocks :: Bool
- shouldRemoveDuplicateSelectors :: Bool
- shouldNormalizeQuotes :: Bool
- letterCase :: LetterCase
- selectorSorting :: SortingMethod
- declarationSorting :: SortingMethod
- data ColorSettings
- data DimensionSettings
- data GradientSettings
- data FontWeightSettings
- data LetterCase
- data SortingMethod
- defaultConfig :: Config
- type Instructions = (Commands, Config)
- data Commands = Commands {
- shouldBeautify :: Bool
- shouldCompress :: Bool
- file :: FilePath
Documentation
The configuration used for minifying.
data ColorSettings Source #
data DimensionSettings Source #
data GradientSettings Source #
data FontWeightSettings Source #
data LetterCase Source #
data SortingMethod Source #
defaultConfig :: Config Source #
A default config with most settings enabled. Used by the minify function, mainly for testing purposes.
type Instructions = (Commands, Config) Source #