From b5c135b8112b289118f34faa8ae642e9e33d6a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=97=E5=A4=A7?= Date: Thu, 4 Jan 2024 15:49:36 +0800 Subject: [PATCH] perf(Theme): add theme change animation (#356) --- src/layout/components/NavBar.vue | 56 ++++++++++++++++++++++++++------ src/styles/theme.scss | 24 ++++++++++++++ src/types/global.d.ts | 9 +++-- 3 files changed, 77 insertions(+), 12 deletions(-) diff --git a/src/layout/components/NavBar.vue b/src/layout/components/NavBar.vue index 51c7e96d..292d4c5c 100644 --- a/src/layout/components/NavBar.vue +++ b/src/layout/components/NavBar.vue @@ -48,8 +48,14 @@ limitations under the License. --> @input="changeTimeRange" /> UTC{{ appStore.utcHour >= 0 ? "+" : "" }}{{ `${appStore.utcHour}:${appStore.utcMin}` }} - - + + @@ -67,18 +73,18 @@ limitations under the License. -->