Skip to content

Commit

Permalink
check support and upgrade colors (GoogleChromeLabs#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
argyleink authored Sep 29, 2023
1 parent ecc715f commit f374068
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/shared/prerendered-app/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit f374068

Please sign in to comment.