Skip to content

Commit f4519d4

Browse files
committed
docs: update theme
1 parent e6d18a1 commit f4519d4

File tree

1 file changed

+1
-1
lines changed
  • packages/docs/.vuepress/theme-coreui/templates

1 file changed

+1
-1
lines changed

packages/docs/.vuepress/theme-coreui/templates/build.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width,initial-scale=1">
66
<meta name="generator" content="VuePress {{ version }}">
77
<script>
8-
const userMode = localStorage.getItem('coreui-react-docs-theme');
8+
const userMode = localStorage.getItem('coreui-vue-docs-theme');
99
const systemDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
1010
if (userMode === 'dark' || (userMode !== 'light' && systemDarkMode)) {
1111
document.documentElement.dataset.coreuiTheme = 'dark';

0 commit comments

Comments
 (0)