From 03e05af920226bd3be3f6d8144a373a318f3d689 Mon Sep 17 00:00:00 2001 From: riddhybansal Date: Thu, 29 Feb 2024 21:34:51 +0530 Subject: [PATCH] fix: added focus outline in active states --- packages/styles/scss/components/link/_link.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/styles/scss/components/link/_link.scss b/packages/styles/scss/components/link/_link.scss index bd183a89058b..4d15eb2dfa01 100644 --- a/packages/styles/scss/components/link/_link.scss +++ b/packages/styles/scss/components/link/_link.scss @@ -46,7 +46,10 @@ $link-focus-text-color: custom-property.get-var( &:active, &:active:visited, &:active:visited:hover { + @include focus-outline; + color: $text-primary; + outline-color: $link-focus-text-color; text-decoration: underline; }