Browse Source

fix: dark theme as base for custom themes

Timothy J. Baek 1 năm trước cách đây
mục cha
commit
3cac26aa03
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');
 											}