mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 17:49:52 +00:00
check support and upgrade colors (#1356)
This commit is contained in:
@@ -18,3 +18,14 @@ html {
|
|||||||
/* Old stuff: */
|
/* Old stuff: */
|
||||||
--button-fg: rgb(95, 180, 228);
|
--button-fg: rgb(95, 180, 228);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (dynamic-range: high) {
|
||||||
|
@supports (color: oklch(0% 0 0)) {
|
||||||
|
html {
|
||||||
|
--pink: oklch(75% 0.3 3);
|
||||||
|
--hot-pink: oklch(65% 0.3 3);
|
||||||
|
--blue: oklch(75% 0.3 248);
|
||||||
|
--deep-blue: oklch(65% 0.3 248);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user