From bb2cf0bfe9e0dd286ff98c8712a96fa1d1cad655 Mon Sep 17 00:00:00 2001
From: zepeng <75007029+yj-liuzepeng@users.noreply.github.com>
Date: Tue, 22 Aug 2023 16:40:26 +0800
Subject: [PATCH] chore(docs): updating the implementation of the theme switch
button (#14014)
* chore(docs): updating the implementation of the theme switch button
* chore(docs): updating the implementation of the theme switch button
* chore(docs): updating the implementation of the theme switch button
---
.../vitepress/components/common/vp-switch.vue | 15 ----
.../components/common/vp-theme-toggler.vue | 73 +++++++++----------
.../vitepress/components/icons/dark.vue | 2 +-
.../vitepress/components/icons/light.vue | 2 +-
docs/components.d.ts | 1 -
5 files changed, 37 insertions(+), 56 deletions(-)
delete mode 100644 docs/.vitepress/vitepress/components/common/vp-switch.vue
diff --git a/docs/.vitepress/vitepress/components/common/vp-switch.vue b/docs/.vitepress/vitepress/components/common/vp-switch.vue
deleted file mode 100644
index 06f5f5712c..0000000000
--- a/docs/.vitepress/vitepress/components/common/vp-switch.vue
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
diff --git a/docs/.vitepress/vitepress/components/common/vp-theme-toggler.vue b/docs/.vitepress/vitepress/components/common/vp-theme-toggler.vue
index f496ea9e63..2278b38b6d 100644
--- a/docs/.vitepress/vitepress/components/common/vp-theme-toggler.vue
+++ b/docs/.vitepress/vitepress/components/common/vp-theme-toggler.vue
@@ -1,50 +1,47 @@
-
-
-
-
-
-
+
+
+
+
+
diff --git a/docs/.vitepress/vitepress/components/icons/dark.vue b/docs/.vitepress/vitepress/components/icons/dark.vue
index a79b0239d1..e091553b75 100644
--- a/docs/.vitepress/vitepress/components/icons/dark.vue
+++ b/docs/.vitepress/vitepress/components/icons/dark.vue
@@ -1,5 +1,5 @@
-