Skip to content

Commit 7077909

Browse files
committed
Update readme to reflect current browser support for relative colours
Firefox added basic support in July 2024, and all major browsers added support for system colour keywords in September-November that year.
1 parent e2804bb commit 7077909

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
[PostCSS] plugin to add opacity to any color with [Relative Color Syntax].
88

9-
Upcoming CSS Colors 5 allows you to change any color including adding opacity.
10-
Firefox still [doesn’t support] this syntax and plugin partially polyfills
11-
this syntax via [`color-mix()`].
9+
CSS Colors 5 allows you to change any color including adding opacity. This
10+
syntax gained [broad support] in mid-2024, but for older browsers, this plugin
11+
partially polyfills this syntax via [`color-mix()`].
1212

1313
```css
1414
.notice {
@@ -33,7 +33,7 @@ This polyfill is based on [Adam Argyle idea].
3333
---
3434

3535
[Relative Color Syntax]: https://www.w3.org/TR/css-color-5/#relative-color
36-
[doesn’t support]: https://caniuse.com/css-relative-colors
36+
[broad support]: https://caniuse.com/css-relative-colors
3737
[Adam Argyle idea]: https://twitter.com/argyleink/status/1633681345607241730?s=20
3838
[`color-mix()`]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/color-mix
3939
[PostCSS]: https://github.com/postcss/postcss

0 commit comments

Comments
 (0)