fix default theme

pull/1/head
yann300 6 years ago
parent 9004e3af9c
commit 9b340d7952
  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