From 66f202d3d1747a00137efad693743fff44ea661c Mon Sep 17 00:00:00 2001 From: ccbikai Date: Sun, 2 Jun 2024 20:11:57 +0800 Subject: [PATCH] feat: optimize theme switcher and fix style issues --- components/SwitchTheme.vue | 15 +++++++-------- components/layouts/Header.vue | 8 ++++---- package.json | 2 -- pnpm-lock.yaml | 23 ----------------------- 4 files changed, 11 insertions(+), 37 deletions(-) diff --git a/components/SwitchTheme.vue b/components/SwitchTheme.vue index 5cfadc8..ab7f968 100644 --- a/components/SwitchTheme.vue +++ b/components/SwitchTheme.vue @@ -1,7 +1,5 @@ @@ -10,18 +8,19 @@ const colorMode = useColorMode() - + Light diff --git a/components/layouts/Header.vue b/components/layouts/Header.vue index 7fdbf65..7997e32 100644 --- a/components/layouts/Header.vue +++ b/components/layouts/Header.vue @@ -36,7 +36,7 @@ const showMenu = ref(false) @touchmove.prevent >