From 0071cb09a9ba6a2d6b673bc10bcdededb5a01ae9 Mon Sep 17 00:00:00 2001 From: mattyatea Date: Sun, 24 Sep 2023 18:49:11 +0900 Subject: [PATCH] 2023.9.0-prismisskey.1 --- packages/frontend/src/components/MkMenu.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue index fc878d4733..f227987975 100644 --- a/packages/frontend/src/components/MkMenu.vue +++ b/packages/frontend/src/components/MkMenu.vue @@ -76,8 +76,7 @@ const gamingMode = computed(defaultStore.makeGetterSetter('gamingMode')); const darkMode = computed(defaultStore.makeGetterSetter('darkMode')); if (darkMode.value && gamingMode.value == true) { gaming.value = 'dark'; - document.documentElement.style.setProperty('--accent', '#fff'); - document.documentElement.style.setProperty('--accentLighten', '#fff'); + } else if (!darkMode.value && gamingMode.value == true) { gaming.value = 'light'; } else {