Просмотр исходного кода

fix: dark theme as base for custom themes

Timothy J. Baek 1 год назад
Родитель
Сommit
3cac26aa03
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/lib/components/chat/SettingsModal.svelte

+ 1 - 1
src/lib/components/chat/SettingsModal.svelte

@@ -999,7 +999,7 @@
 
 											document.documentElement.classList.add(theme);
 
-											if (theme === 'rose-pine') {
+											if (!['light', 'dark'].includes(theme)) {
 												document.documentElement.classList.add('dark');
 											}