From 0a12f3557ab768db4d4d476807e0c771dd680784 Mon Sep 17 00:00:00 2001 From: Charles7c Date: Sun, 12 Mar 2023 14:48:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20VitePress=20=E9=BB=98=E8=AE=A4=E4=B8=BB=E9=A2=98=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E9=A3=8E=E6=A0=BC=E4=BC=98=E5=8C=96=E5=90=8E=EF=BC=88?= =?UTF-8?q?>=3D=20v1.0.0-alpha.37=EF=BC=89=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=A0=B7=E5=BC=8F=E8=BF=87=E6=9C=9F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/theme/components/Tag.vue | 14 +++++++------- docs/.vitepress/theme/styles/custom.css | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/.vitepress/theme/components/Tag.vue b/docs/.vitepress/theme/components/Tag.vue index 98df5e7b4..6ccaf8881 100644 --- a/docs/.vitepress/theme/components/Tag.vue +++ b/docs/.vitepress/theme/components/Tag.vue @@ -124,7 +124,7 @@ background: var(--vp-c-bg); } :deep(.arco-card-bordered) { - border: 1px solid var(--vp-c-divider-light); + border: 1px solid var(--vp-c-gutter); } :deep(.arco-card-body) { color: var(--vp-c-text-1); @@ -135,14 +135,14 @@ color: var(--vp-c-text-1); } :deep(.arco-list-bordered) { - border: 1px solid var(--vp-c-divider-light); + border: 1px solid var(--vp-c-gutter); } :deep(.arco-list-split .arco-list-header) { color: var(--vp-c-text-1); - border-bottom: 1px solid var(--vp-c-divider-light); + border-bottom: 1px solid var(--vp-c-gutter); } :deep(.arco-list-split .arco-list-item:not(:last-child)) { - border-bottom: 1px solid var(--vp-c-divider-light); + border-bottom: 1px solid var(--vp-c-gutter); } /** 标签样式 */ @@ -155,8 +155,8 @@ .main-container-tag .tag-header-wrapper { padding: 24px 0; margin-bottom: 24px; - box-shadow: 0 1px 0 0 var(--vp-c-divider-light); - -webkit-box-shadow: 0 1px 0 0 var(--vp-c-divider-light); + box-shadow: 0 1px 0 0 var(--vp-c-gutter); + -webkit-box-shadow: 0 1px 0 0 var(--vp-c-gutter); } .main-container-tag .tag-header-wrapper .tag-breadcrumb-icon { position: relative; @@ -193,7 +193,7 @@ svg:not(:root) { padding: 12px 12px; margin: 8px 8px 0 0; cursor: pointer; - border: 1px solid var(--vp-c-divider-light); + border: 1px solid var(--vp-c-gutter); } .main-container-tag .tag-title { margin-right: 6px; diff --git a/docs/.vitepress/theme/styles/custom.css b/docs/.vitepress/theme/styles/custom.css index 5b81f4695..e16322bb0 100644 --- a/docs/.vitepress/theme/styles/custom.css +++ b/docs/.vitepress/theme/styles/custom.css @@ -28,7 +28,7 @@ pre, code, kbd, samp { /* slim scroll bar for windows based web browsers - works on firefox */ * { - scrollbar-color: var(--vp-c-divider-light) var(--vp-button-alt-bg); + scrollbar-color: var(--vp-c-gutter) var(--vp-button-alt-bg); scrollbar-width: thin; } @@ -40,7 +40,7 @@ pre, code, kbd, samp { /* scrolling handle */ ::-webkit-scrollbar-thumb { - background: var(--vp-c-divider-light); + background: var(--vp-c-gutter); } /* handle on hover */