浏览代码

fix: dark theme as base for custom themes

Timothy J. Baek 1 年之前
父节点
当前提交
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');
 											}