Dart Sass 1.101.4
- Avoid emitting rgb() or rgba() functions with non-percent decimal channels by using percentages for channels in legacy colors that contain at least one non-integer channel to preserve backwards-compatibility while retaining full precision for modern browsers
- Fix a bug where the values of plain-CSS if() expressions were emitted using their meta.inspect() format rather than their CSS serialization format
To install Sass 1.101.4, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
-
Avoid emitting
rgb()orrgba()functions with non-percent decimal channels. Older browsers only support integer values or (potentially decimal) percentages for these functions, so in order to preserve backwards-compatibility while retaining full precision for modern browsers, legacy colors that contain at least one non-integer channel will now use percentages for their channels (for example,rgb(0%, 100%, 50%)rather thanrgb(0, 255, 127.5)). -
Fix a bug where the values of plain-CSS
if()expressions were emitted using theirmeta.inspect()format rather than their CSS serialization format.
See the full changelog for changes in earlier releases.