From dd5381b4322360551ef3f805bcbff2071b64e187 Mon Sep 17 00:00:00 2001 From: ocean_gao Date: Tue, 4 Jun 2024 18:18:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(Link):=20=E8=A7=A3=E5=86=B3=E5=B5=8C?= =?UTF-8?q?=E5=A5=97a=E6=A0=87=E7=AD=BE=E6=A0=B7=E5=BC=8F=E5=86=B2?= =?UTF-8?q?=E7=AA=81=E7=9A=84=E9=97=AE=E9=A2=98=20(#828)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/link/style/index.less | 7 +++++++ docs/.vitepress/components/link/href.vue | 7 ++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/components/link/style/index.less b/components/link/style/index.less index 4cff5f8c..59fd71f4 100644 --- a/components/link/style/index.less +++ b/components/link/style/index.less @@ -9,8 +9,15 @@ display: inline-flex; align-items: center; justify-content: flex-start; + color: var(--f-text-color); + text-decoration: none; cursor: pointer; + a { + color: inherit; + text-decoration: inherit; + } + .icon { display: flex; align-items: center; diff --git a/docs/.vitepress/components/link/href.vue b/docs/.vitepress/components/link/href.vue index 360b1dd6..f36903d8 100644 --- a/docs/.vitepress/components/link/href.vue +++ b/docs/.vitepress/components/link/href.vue @@ -1,3 +1,8 @@