We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6919a8a commit 3e44d1cCopy full SHA for 3e44d1c
src/pydata_sphinx_theme/theme/pydata_sphinx_theme/layout.html
@@ -14,7 +14,7 @@
14
{# https://github.com/pydata/pydata-sphinx-theme/pull/1045 #}
15
<script data-cfasync="false">
16
document.documentElement.dataset.mode = localStorage.getItem("mode") || "{{ default_mode }}";
17
- document.documentElement.dataset.theme = localStorage.getItem("theme") || "light";
+ document.documentElement.dataset.theme = localStorage.getItem("theme") || "{{ default_mode }}";
18
</script>
19
{{ _webpack.head_pre_assets() }}
20
{{ _webpack.head_pre_icons() }}
0 commit comments