Safe Haskell | None |
---|---|
Language | Haskell2010 |
Compilation options.
Synopsis
- data SassOptions = SassOptions {
- sassPrecision :: Int
- sassOutputStyle :: SassOutputStyle
- sassSourceComments :: Bool
- sassSourceMapEmbed :: Bool
- sassSourceMapContents :: Bool
- sassOmitSourceMapUrl :: Bool
- sassIsIndentedSyntax :: Bool
- sassIndent :: String
- sassLinefeed :: String
- sassInputPath :: Maybe FilePath
- sassOutputPath :: Maybe FilePath
- sassPluginPaths :: Maybe [FilePath]
- sassIncludePaths :: Maybe [FilePath]
- sassSourceMapFile :: Maybe FilePath
- sassSourceMapRoot :: Maybe String
- sassFunctions :: Maybe [SassFunction]
- sassHeaders :: Maybe [SassHeader]
- sassImporters :: Maybe [SassImporter]
- sassStripEncodingInfo :: Bool
- defaultSassOptions :: SassOptions
- data SassOutputStyle
Documentation
data SassOptions Source #
Describes compilation options. With the exception of
sassStripEncodingInfo
, these correspond to the compilation options of
libsass.
SassOptions | |
|
Instances
Default SassOptions Source # | |
Defined in Text.Sass.Options def :: SassOptions # |
defaultSassOptions :: SassOptions Source #
The default SassOptions
:
sassPrecision
= 5sassOutputStyle
=SassStyleNested
sassIndent
= two spacessassLinefeed
="\n"
- All other fields default to
False
orNothing
.
data SassOutputStyle #
Defines output style of compiled CSS.
SassStyleNested | |
SassStyleExpanded | |
SassStyleCompact | |
SassStyleCompressed | |
SassStyleInspect | Marked as internal |
SassStyleToSass | Marked as internal |
Instances
Enum SassOutputStyle | |
Defined in Bindings.Libsass.Types succ :: SassOutputStyle -> SassOutputStyle # pred :: SassOutputStyle -> SassOutputStyle # toEnum :: Int -> SassOutputStyle # fromEnum :: SassOutputStyle -> Int # enumFrom :: SassOutputStyle -> [SassOutputStyle] # enumFromThen :: SassOutputStyle -> SassOutputStyle -> [SassOutputStyle] # enumFromTo :: SassOutputStyle -> SassOutputStyle -> [SassOutputStyle] # enumFromThenTo :: SassOutputStyle -> SassOutputStyle -> SassOutputStyle -> [SassOutputStyle] # | |
Eq SassOutputStyle | |
Defined in Bindings.Libsass.Types (==) :: SassOutputStyle -> SassOutputStyle -> Bool # (/=) :: SassOutputStyle -> SassOutputStyle -> Bool # | |
Show SassOutputStyle | |
Defined in Bindings.Libsass.Types showsPrec :: Int -> SassOutputStyle -> ShowS # show :: SassOutputStyle -> String # showList :: [SassOutputStyle] -> ShowS # |