Commit 06255ba
committed
fix: don't use unicodeSets regex feature, fix gradient transparency
The unicode sets / "v" flag are only supported since mid 2023; this
replaces them with [a-fA-F0-9], which matches the CSS spec.
https://caniuse.com/mdn-javascript_builtins_regexp_unicodesets
This also fixes support for 8-character #RRGGBBAA color codes.1 parent 14c0d5a commit 06255ba
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments