mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1742696 - Also add color-scheme to in-content/common. r=Gijs
This should have roughly the same effect as the meta tag, and all these pages support dark mode. The meta tag still has its merits (it allows us to conceptually paint a dark background sooner to avoid flashing white). I'd still prefer to keep the meta tag but this might be a simpler fix. Differential Revision: https://phabricator.services.mozilla.com/D132186
This commit is contained in:
parent
1b8b7cfaa5
commit
6a0cba6df9
@ -111,6 +111,7 @@
|
||||
--card-shadow-hover: var(--card-shadow), 0 0 0 5px var(--card-outline-color);
|
||||
|
||||
accent-color: var(--in-content-accent-color);
|
||||
color-scheme: light dark;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
|
Loading…
Reference in New Issue
Block a user