Debian Codegraph @

docs/source/_static/css/dark_light_mode.css

raw
1 /*This file replaces the style defined in the "_head_css_variables.html"
2 partial from furo==2022.12.7*/
3
4 body {
5 --color-code-background: #f8f8f8;
6 --color-code-foreground: black;
7 }
8
9 /* Dark theme styles */
10 @media not print {
11 body[data-theme="dark"] {
12 --color-code-background: #272822;
13 --color-code-foreground: #f8f8f2;
14 }
15
16 /* For users who prefer dark color scheme */
17 @media (prefers-color-scheme: dark) {
18 body:not([data-theme="light"]) {
19 --color-code-background: #272822;
20 --color-code-foreground: #f8f8f2;
21 }
22 }
23 }