File: dark_light_mode.css

package info (click to toggle)
python-botocore 1.37.9%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 121,768 kB
  • sloc: python: 73,696; xml: 14,880; javascript: 181; makefile: 155
file content (23 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*This file replaces the style defined in the "_head_css_variables.html" 
partial from furo==2022.12.7*/

body {
  --color-code-background: #f8f8f8;
  --color-code-foreground: black;
}

/* Dark theme styles */
@media not print {
  body[data-theme="dark"] {
    --color-code-background: #272822;
    --color-code-foreground: #f8f8f2;
  }

  /* For users who prefer dark color scheme */
  @media (prefers-color-scheme: dark) {
    body:not([data-theme="light"]) {
      --color-code-background: #272822;
      --color-code-foreground: #f8f8f2;
    }
  }
}