To install Dart Sass 1.20.0, download one of the packages above and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- Support attribute selector modifiers, such as the
i
in[title="test" i]
.
Command-Line Interface
- When compilation fails, Sass will now write the error message to the CSS output as a comment and as the
content
property of abody::before
rule so it will show up in the browser (unless compiling to standard output). This can be disabled with the--no-error-css
flag, or forced even when compiling to standard output with the--error-css
flag.
Dart API
- Added
SassException.toCssString()
, which returns the contents of a CSS stylesheet describing the error, as above.
See the full changelog for changes in earlier releases.