feat: 更新 VitePress 配置,添加文档基础路径、图标和最后更新时间,增强主题样式

This commit is contained in:
2025-03-22 19:15:13 +08:00
parent 31f1469753
commit 788cfa3c69
3 changed files with 15 additions and 4 deletions

View File

@@ -44,6 +44,10 @@
* -------------------------------------------------------------------------- */
:root {
--vp-c-brand-1: #81c122 !important;
--vp-c-brand-2: #98cc4a !important;
--vp-c-brand-3: #9be05e !important;
--vp-c-default-1: var(--vp-c-gray-1);
--vp-c-default-2: var(--vp-c-gray-2);
--vp-c-default-3: var(--vp-c-gray-3);
@@ -70,6 +74,12 @@
--vp-c-danger-soft: var(--vp-c-red-soft);
}
.dark {
--vp-c-brand-1: #a5cc69 !important;
--vp-c-brand-2: #98cc4a !important;
--vp-c-brand-3: #9be05e !important;
}
/**
* Component: Button
* -------------------------------------------------------------------------- */