fix default theme

pull/3094/head
yann300 6 years ago
parent 216c906cd6
commit 6a15b7b698
  1. 1
      src/app/ui/styles-guide/theme-chooser.js

@ -41,6 +41,7 @@ module.exports = {
else {
theme = themeStorage.get('theme')
}
if (!theme) theme = 'light'
if (themes[theme]) {
document.getElementById('theme-link').setAttribute('href', themes[theme])
document.documentElement.style.setProperty('--theme', themeVariable[theme])

Loading…
Cancel
Save