mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-26 20:24:42 +01:00
Don't emit "deg" for hsl hues (#1885)
This commit is contained in:
parent
d2bc7105e8
commit
c8b4cd09eb
@ -1,3 +1,9 @@
|
||||
## 1.58.1
|
||||
|
||||
* Emit a unitless hue when serializing `hsl()` colors. The `deg` unit is
|
||||
incompatible with IE, and while that officially falls outside our
|
||||
compatibility policy, it's better to lean towards greater compatibility.
|
||||
|
||||
## 1.58.0
|
||||
|
||||
* Remove sourcemap comments from Sass sources. The generated sourcemap comment
|
||||
|
@ -604,7 +604,6 @@ class _SerializeVisitor
|
||||
var opaque = fuzzyEquals(value.alpha, 1);
|
||||
_buffer.write(opaque ? "hsl(" : "hsla(");
|
||||
_writeNumber(value.hue);
|
||||
_buffer.write("deg");
|
||||
_buffer.write(_commaSeparator);
|
||||
_writeNumber(value.saturation);
|
||||
_buffer.writeCharCode($percent);
|
||||
|
@ -1,3 +1,7 @@
|
||||
## 5.0.1
|
||||
|
||||
* No user-visible changes.
|
||||
|
||||
## 5.0.0
|
||||
|
||||
* **Breaking change:** Instead of a `Tuple`, `findDependencies()` now returns a
|
||||
|
@ -2,7 +2,7 @@ name: sass_api
|
||||
# Note: Every time we add a new Sass AST node, we need to bump the *major*
|
||||
# version because it's a breaking change for anyone who's implementing the
|
||||
# visitor interface(s).
|
||||
version: 5.0.0
|
||||
version: 5.0.1
|
||||
description: Additional APIs for Dart Sass.
|
||||
homepage: https://github.com/sass/dart-sass
|
||||
|
||||
@ -10,7 +10,7 @@ environment:
|
||||
sdk: ">=2.17.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
sass: 1.58.0
|
||||
sass: 1.58.1
|
||||
|
||||
dev_dependencies:
|
||||
dartdoc: ^5.0.0
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: sass
|
||||
version: 1.58.0
|
||||
version: 1.58.1
|
||||
description: A Sass implementation in Dart.
|
||||
homepage: https://github.com/sass/dart-sass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user