forked from open-webui/open-webui
fix: dark theme as base for custom themes
This commit is contained in:
parent
dcfe064949
commit
3cac26aa03
1 changed files with 1 additions and 1 deletions
|
@ -999,7 +999,7 @@
|
||||||
|
|
||||||
document.documentElement.classList.add(theme);
|
document.documentElement.classList.add(theme);
|
||||||
|
|
||||||
if (theme === 'rose-pine') {
|
if (!['light', 'dark'].includes(theme)) {
|
||||||
document.documentElement.classList.add('dark');
|
document.documentElement.classList.add('dark');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue