File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 5
5
is now interpreted as a percentage, instead of ignoring the unit. For example,
6
6
` color.change(red, $alpha: 50%) ` now returns ` rgb(255 0 0 / 0.5) ` .
7
7
8
+ * ** Potentially breaking compatibility fix** : Passing large positive or negative
9
+ values to ` color.adjust() ` can now cause a color's channels to go outside that
10
+ color's gamut. In most cases this will currently be clipped by the browser and
11
+ end up showing the same color as before, but once browsers implement gamut
12
+ mapping it may produce a different result.
13
+
8
14
* Add support for CSS Color Level 4 [ color spaces] . Each color value now tracks
9
15
its color space along with the values of each channel in that color space.
10
16
There are two general principles to keep in mind when dealing with new color
You can’t perform that action at this time.
0 commit comments