mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-06 16:09:43 +00:00
doc: move color overrides into light color scheme block
Otherwise when a user is visiting with dark color scheme preference, the code fragments would appear with far too bright colors.
This commit is contained in:
parent
18ef422f3f
commit
a168e4261f
|
@ -5,10 +5,15 @@
|
|||
--header-background: #729fcf;
|
||||
--header-foreground: rgba(255, 255, 255, 0.7);
|
||||
--font-family: 'Source Sans Pro', 'Source Sans', sans-serif;
|
||||
--code-background: #f5f5f5;
|
||||
--code-foreground: #333333;
|
||||
--fragment-background: #f5f5f5;
|
||||
--fragment-foreground: #333333;
|
||||
--fragment-keyword: #c7254e;
|
||||
--fragment-link: #729fcf;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
--code-background: #f5f5f5;
|
||||
--code-foreground: #333333;
|
||||
--fragment-background: #f5f5f5;
|
||||
--fragment-foreground: #333333;
|
||||
--fragment-keyword: #c7254e;
|
||||
--fragment-link: #729fcf;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue