Actually make cybre theme default
This commit is contained in:
parent
9ee658a803
commit
8149e270ea
|
@ -18,7 +18,7 @@ window.__themeColors = {
|
|||
if (localStorage.store_currentInstance && localStorage.store_instanceThemes) {
|
||||
let safeParse = (str) => str === 'undefined' ? undefined : JSON.parse(str)
|
||||
let theme = safeParse(localStorage.store_instanceThemes)[safeParse(localStorage.store_currentInstance)]
|
||||
if (theme && theme !== 'default') {
|
||||
if (theme && theme !== 'cybre') {
|
||||
document.body.classList.add(`theme-${theme}`)
|
||||
let link = document.createElement('link')
|
||||
link.rel = 'stylesheet'
|
||||
|
|
Loading…
Reference in New Issue