From 57cd6f877d645d3ad1f4987b7267c5f0a4b76169 Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Mon, 12 Dec 2022 16:40:27 +0800 Subject: [PATCH] style(console): update link styles in markdown contents (#2634) --- .../src/components/Markdown/index.module.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/console/src/components/Markdown/index.module.scss b/packages/console/src/components/Markdown/index.module.scss index 05858a892..62922ed89 100644 --- a/packages/console/src/components/Markdown/index.module.scss +++ b/packages/console/src/components/Markdown/index.module.scss @@ -30,6 +30,21 @@ } } + a { + font: var(--font-body-medium); + color: var(--color-text-link); + text-decoration: none; + text-underline-offset: 2px; + + &:hover { + text-decoration: underline; + } + + &:active { + color: var(--color-primary-pressed); + } + } + h1 { font: var(--font-title-large); margin: _.unit(6) 0;