From 150b3749332747b18742cfe1c86c90421a8a7eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Sat, 16 Jul 2022 11:33:45 +0200 Subject: [PATCH] Fix active/focused button link text color --- scss/_buttons.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scss/_buttons.scss b/scss/_buttons.scss index 6c2482275b..044b8d6f5f 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -147,6 +147,7 @@ --#{$prefix}btn-border-color: transparent; --#{$prefix}btn-hover-color: #{$btn-link-hover-color}; --#{$prefix}btn-hover-border-color: transparent; + --#{$prefix}btn-active-color: #{$btn-link-hover-color}; --#{$prefix}btn-active-border-color: transparent; --#{$prefix}btn-disabled-color: #{$btn-link-disabled-color}; --#{$prefix}btn-disabled-border-color: transparent; @@ -160,6 +161,14 @@ text-decoration: $link-hover-decoration; } + &:focus { + color: var(--#{$prefix}btn-color); + } + + &:hover { + color: var(--#{$prefix}btn-hover-color); + } + // No need for an active state here }