Преглед на файлове

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

James Read преди 7 месеца
родител
ревизия
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);`
     }
 }