From 2e6967743e033ae597718679e26ecced5d592be7 Mon Sep 17 00:00:00 2001 From: luckyasme <807254037@qq.com> Date: Tue, 11 Mar 2025 16:19:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/src/App.vue | 1 + docs/.vitepress/src/components/AppFooter2.vue | 8 ++++++++ docs/.vitepress/src/components/DocMenu.vue | 8 ++++++++ 3 files changed, 17 insertions(+) diff --git a/docs/.vitepress/src/App.vue b/docs/.vitepress/src/App.vue index 673051a..4ebb1c9 100644 --- a/docs/.vitepress/src/App.vue +++ b/docs/.vitepress/src/App.vue @@ -88,6 +88,7 @@ watch( -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: var(--o-color-fill1); + color: var(--o-color-info1); --vw100: 100vw; diff --git a/docs/.vitepress/src/components/AppFooter2.vue b/docs/.vitepress/src/components/AppFooter2.vue index 01e3509..8c8fb47 100644 --- a/docs/.vitepress/src/components/AppFooter2.vue +++ b/docs/.vitepress/src/components/AppFooter2.vue @@ -94,4 +94,12 @@ linksData2; } } } + +@include in-dark { + .app-footer { + :deep(.o-divider) { + --o-divider-bd-color: rgba(var(--o-white), 0.1); + } + } +} diff --git a/docs/.vitepress/src/components/DocMenu.vue b/docs/.vitepress/src/components/DocMenu.vue index 6d58faa..7d34b9b 100644 --- a/docs/.vitepress/src/components/DocMenu.vue +++ b/docs/.vitepress/src/components/DocMenu.vue @@ -287,4 +287,12 @@ const expanded = useVModel(props, 'expanded', emits); } } } + +@include in-dark { + .doc-menu { + .chapter-title-active { + background-color: var(--o-color-control3-light); + } + } +} -- Gitee