From 4be7f7a731065f78ad0359dd22f9792a657c8d39 Mon Sep 17 00:00:00 2001 From: GeWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Wed, 11 Feb 2026 16:31:18 +0800 Subject: [PATCH] =?UTF-8?q?style(docs):=20=E6=9B=B4=E6=96=B0=E5=93=81?= =?UTF-8?q?=E7=89=8C=E9=A2=9C=E8=89=B2=E4=B8=BB=E9=A2=98=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉原有的 indigo 颜色变量定义 - 添加自定义深蓝色 (#1e40af) 用于文字和激活状态 - 添加自定义蓝色 (#2563eb) 用于悬停效果 - 保留原有的品牌颜色 3 和软色变量设置 --- docs/.vitepress/theme/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index e47a6e6..03029e0 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -49,8 +49,11 @@ --vp-c-default-3: var(--vp-c-gray-3); --vp-c-default-soft: var(--vp-c-gray-soft); - --vp-c-brand-1: var(--vp-c-indigo-1); - --vp-c-brand-2: var(--vp-c-indigo-2); + /*--vp-c-brand-1: var(--vp-c-indigo-1);*/ + /*--vp-c-brand-2: var(--vp-c-indigo-2);*/ + --vp-c-brand-1: #1e40af; /* 深蓝:文字 / active */ + --vp-c-brand-2: #2563eb; /* 蓝:hover */ + --vp-c-brand-3: var(--vp-c-indigo-3); --vp-c-brand-soft: var(--vp-c-indigo-soft);