Remove test colors from css that were accidentally left in
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 1m23s
All checks were successful
Build And Deploy / build-and-deploy (push) Successful in 1m23s
prefers-color-scheme and prefers-contrast
This commit is contained in:
parent
f46d6337d1
commit
8783e401f8
1 changed files with 6 additions and 24 deletions
|
|
@ -118,27 +118,9 @@ Inspired by:
|
|||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--color-fg: #404040;
|
||||
--color-bg: #f4f4f4;
|
||||
--color-accent: crimson;
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: light) {}
|
||||
|
||||
@media (prefers-contrast: more) {
|
||||
:root {
|
||||
--color-fg: white;
|
||||
--color-bg: black;
|
||||
--color-accent: cyan;
|
||||
}
|
||||
}
|
||||
@media (prefers-contrast: more) {}
|
||||
|
||||
@media (prefers-color-scheme: light) and (prefers-contrast: more) {
|
||||
:root {
|
||||
--color-fg: black;
|
||||
--color-bg: white;
|
||||
--color-accent: firebrick;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue