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

This commit is contained in:
James Read 2026-02-03 22:37:39 +00:00 committed by GitHub
commit 7240eb5c57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);`
}
}