enum classafSass4f::SassOutputStyle
sys::Obj sys::Enum afSass4f::SassOutputStyle
@
Serializable { simple=true }
Sass CSS output style.
See Sass Output Style for details.
- compact
const static SassOutputStyle compact := ...
Compact style takes up less space than Nested or Expanded. It also draws the focus more to the selectors than to their properties. Each CSS rule takes up only one line, with every property defined on that line. Nested rules are placed next to each other with no newline, while separate groups of rules have newlines between them.
- compressed
const static SassOutputStyle compressed := ...
Compressed style takes up the minimum amount of space possible, having no whitespace except that necessary to separate selectors and a newline at the end of the file. It also includes some other minor compressions, such as choosing the smallest representation for colors. It’s not meant to be human-readable.
- expanded
const static SassOutputStyle expanded := ...
Expanded is a more typical human-made CSS style, with each property and rule taking up one line. Properties are indented within the rules, but the rules aren’t indented in any special way.
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the SassOutputStyle instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- isMinified
Bool isMinified()
- nested
const static SassOutputStyle nested := ...
Nested style is the default Sass style, because it reflects the structure of the CSS styles and the HTML document they’re styling. Each property has its own line, but the indentation isn’t constant. Each rule is indented based on how deeply it’s nested.
- outStyle
OutputStyle outStyle()
The Sass output style.
- vals
const static SassOutputStyle[] vals := ...
List of SassOutputStyle values indexed by ordinal