check support and upgrade colors (#1356)

This commit is contained in:
Adam Argyle
2023-09-29 06:03:28 -07:00
committed by GitHub
parent ecc715fe55
commit f374068fb2

View File

@ -18,3 +18,14 @@ html {
/* Old stuff: */
--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);
}
}
}