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 f99e436 commit 50882a3Copy full SHA for 50882a3
src/js/color-modes.js
@@ -7,7 +7,7 @@
7
(() => {
8
'use strict'
9
10
- const THEME = 'coreui-docs-theme'
+ const THEME = 'coreui-free-bootstrap-admin-template-theme'
11
12
const storedTheme = localStorage.getItem(THEME)
13
src/js/config.js
@@ -8,9 +8,10 @@
const urlParams = new URLSearchParams(window.location.href.split('?')[1])
14
if (urlParams.get('theme') && ['auto', 'dark', 'light'].includes(urlParams.get('theme'))) {
- localStorage.setItem('theme', urlParams.get('theme'))
15
+ localStorage.setItem(THEME, urlParams.get('theme'))
16
}
17
})()
0 commit comments