We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327fdc1 commit d05c854Copy full SHA for d05c854
1 file changed
mkdocs.yml
@@ -41,8 +41,29 @@ theme:
41
logo: assets/logo.png
42
favicon: assets/favicon.png
43
palette:
44
- primary: custom
45
- accent: custom
+ - media: "(prefers-color-scheme)"
+ primary: custom
46
+ accent: custom
47
+ toggle:
48
+ icon: material/brightness-auto
49
+ name: Switch to light mode
50
+
51
+ - media: "(prefers-color-scheme: light)"
52
53
54
+ scheme: default
55
56
+ icon: material/brightness-7
57
+ name: Switch to dark mode
58
59
+ - media: "(prefers-color-scheme: dark)"
60
61
62
+ scheme: slate
63
64
+ icon: material/brightness-4
65
+ name: Switch to system preference
66
67
features:
68
- navigation.expand
69
- navigation.instant
0 commit comments