Update theme style import fallback in App.vue
This commit is contained in:
parent
e84d96b060
commit
1fde1894a7
|
|
@ -364,7 +364,7 @@ function applyTheme() {
|
||||||
if (themePreference.value && themePreference.value !== '') {
|
if (themePreference.value && themePreference.value !== '') {
|
||||||
themeStyle.textContent = `@import url('/custom-webui/themes/${themePreference.value}/theme.css') layer(theme);`
|
themeStyle.textContent = `@import url('/custom-webui/themes/${themePreference.value}/theme.css') layer(theme);`
|
||||||
} else {
|
} else {
|
||||||
themeStyle.textContent = ''
|
themeStyle.textContent = '@import url('/theme.css') layer(theme);'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue