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