Update dependency sass to ~1.96.0
This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| sass | ~1.94 -> ~1.96.0 |
Release Notes
sass/dart-sass (sass)
v1.96.0
- Allow numbers with complex units (more than one numerator unit or more than
zero denominator units) to be emitted to CSS. These are now emitted as
calc()expressions, which now support complex units in plain CSS.
v1.95.1
- No user-visible changes.
v1.95.0
-
Add support for the CSS-style
if()function. In addition to supporting the plain CSS syntax, this also supports asass()query that takes a Sass expression that evaluates totrueorfalseat preprocessing time depending on whether the Sass value is truthy. If there are no plain-CSS queries, the function will return the first value whose query returns true during preprocessing. For example,if(sass(false): 1; sass(true): 2; else: 3)returns2. -
The old Sass
if()syntax is now deprecated. Users are encouraged to migrate to the new CSS syntax.if($condition, $if-true, $if-false)can be changed toif(sass($condition): $if-true; else: $if-false).See the Sass website for details.
-
Plain-CSS
if()functions are now considered "special numbers", meaning that they can be used in place of arguments to CSS color functions. -
Plain-CSS
if()functions andattr()functions are now considered "special variable strings" (likevar()), meaning they can now be used in place of multiple arguments or syntax fragments in various CSS functions.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.