Просмотр исходного кода

Apply server-configured theme when user has no preference (#854)

James Read 5 месяцев назад
Родитель
Сommit
7240eb5c57
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      frontend/resources/vue/App.vue

+ 1 - 1
frontend/resources/vue/App.vue

@@ -364,7 +364,7 @@ function applyTheme() {
     if (themePreference.value && themePreference.value !== '') {
         themeStyle.textContent = `@import url('/custom-webui/themes/${themePreference.value}/theme.css') layer(theme);`
     } else {
-        themeStyle.textContent = ''
+        themeStyle.textContent = `@import url('/theme.css') layer(theme);`
     }
 }