From 856fa349acd4b1e4b5e784e0b7b1014d766cdcf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20M=C3=A9doc?= Date: Wed, 24 Jul 2024 10:48:30 +0200 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=93=A6=20Cleanup=20code=20for?= =?UTF-8?q?=20darkmode=20(#458)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Buttons/ThemeToggle.vue | 15 +++--- apps/wizarr-frontend/src/stores/theme.ts | 28 ++++------ apps/wizarr-frontend/src/ts/utils/darkMode.ts | 54 ++++++++----------- 3 files changed, 39 insertions(+), 58 deletions(-) diff --git a/apps/wizarr-frontend/src/components/Buttons/ThemeToggle.vue b/apps/wizarr-frontend/src/components/Buttons/ThemeToggle.vue index bd745036d..133265a73 100644 --- a/apps/wizarr-frontend/src/components/Buttons/ThemeToggle.vue +++ b/apps/wizarr-frontend/src/components/Buttons/ThemeToggle.vue @@ -2,9 +2,9 @@ @@ -14,20 +14,19 @@ -