From 3cac26aa037648da2f859789760fa908801baaf9 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 1 Jan 2024 19:22:25 -0800 Subject: [PATCH] fix: dark theme as base for custom themes --- src/lib/components/chat/SettingsModal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte index 06a958708..963e616f5 100644 --- a/src/lib/components/chat/SettingsModal.svelte +++ b/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'); }