From 980b2b7e129f1693ab08e64b58c5619d505c49e2 Mon Sep 17 00:00:00 2001 From: pa Date: Sun, 8 Feb 2026 15:40:28 +0900 Subject: [PATCH] fix sonner theme switching for toasts --- src/App.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index db683da4..1b1fd1d4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,7 +10,7 @@ ondragover="event.preventDefault()" ondrop="event.preventDefault()"> - + @@ -41,6 +41,10 @@ const isMacOS = computed(() => navigator.platform.includes('Mac')); + const theme = computed(() => { + return store.appearanceSettings.isDarkMode ? 'dark' : 'light'; + }); + initNoty(); const store = createGlobalStores();