From 8ed08b5952c1eed1966372c5eec39fbfb2b66e85 Mon Sep 17 00:00:00 2001 From: MC_XiaoHei Date: Tue, 10 Dec 2024 15:32:52 +0800 Subject: [PATCH] fix: fix build --- docs/.vitepress/theme/preference/PreferenceSwitch.vue | 2 +- package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/.vitepress/theme/preference/PreferenceSwitch.vue b/docs/.vitepress/theme/preference/PreferenceSwitch.vue index b0c5eba3c..8bd96e533 100644 --- a/docs/.vitepress/theme/preference/PreferenceSwitch.vue +++ b/docs/.vitepress/theme/preference/PreferenceSwitch.vue @@ -155,7 +155,7 @@ onMounted(() => { transition: border-color 0.5s, background-color 0.5s ease; margin-bottom: 20px; top: -0.5px; - background-color: var(--vt-c-bg); + background-color: var(--vp-c-bg); padding-top: 10px; z-index: 5; } diff --git a/package.json b/package.json index b43576d22..57699fe3c 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,6 @@ }, "dependencies": { "@vue/theme": "^2.3.0", - "commandapi-docs": "file:", "jszip": "^3.10.1", "vitepress-i18n": "^1.3.0", "vue": "^3.5.13",