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 fb9fd0f commit bc77241Copy full SHA for bc77241
doc/source/conf.py
@@ -97,6 +97,25 @@
97
# html_extra_path = ['_extra']
98
99
html_theme_options = {
100
+ "palette": [
101
+
102
+ {
103
+ "media": "(prefers-color-scheme: light)",
104
+ "scheme": "default",
105
+ "toggle": {
106
+ "icon": "material/weather-sunny",
107
+ "name": "Switch to dark mode",
108
+ }
109
+ },
110
111
+ "media": "(prefers-color-scheme: dark)",
112
+ "scheme": "slate",
113
114
+ "icon": "material/weather-night",
115
+ "name": "Switch to system preference",
116
117
118
+ ],
119
"features": [
120
"navigation.expand",
121
"navigation.top",
0 commit comments