Closed daanvosdewael closed 3 weeks ago
When using the plug-in with modern color function notation, the conversion is not correct. An example with rgb() to hsl() with alpha:
rgb()
hsl()
// Input body { background-color: rgb(255 255 255 / 0); } // Output body { background-color: hsla(60, 100%, 50%, 1); } // Expected body { background-color: hsl(0 0% 100% / 0); }
More info about the notation can be found in the spec: https://drafts.csswg.org/css-color/#the-hsl-notation
I'll see what I can do.
Fixed in 1.1.1.
When using the plug-in with modern color function notation, the conversion is not correct. An example with
rgb()
tohsl()
with alpha:More info about the notation can be found in the spec: https://drafts.csswg.org/css-color/#the-hsl-notation