Apply server-configured theme when user has no preference (#854)
This commit is contained in:
commit
7240eb5c57
|
|
@ -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);`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue