From a6952b7c0aa5b7e81ba7a439a3e38833eab37d8b Mon Sep 17 00:00:00 2001 From: Louis-Maxime Piton Date: Tue, 8 Nov 2022 09:43:41 +0100 Subject: [PATCH] fix(css): handle link hover color on dark bg in `bg-variant` mixin (#1446) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Julien Déramond --- scss/mixins/_background-variant.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scss/mixins/_background-variant.scss b/scss/mixins/_background-variant.scss index 0714a0de57..6ace7ecc11 100644 --- a/scss/mixins/_background-variant.scss +++ b/scss/mixins/_background-variant.scss @@ -9,7 +9,7 @@ background-color: $color !important; @if $contrast != $black { - a { + a:not(:hover) { color: $contrast; } }