From f4a1b8d36a44663da675db05e021f23f7a07721f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Wed, 8 Jan 2020 15:06:19 +0100 Subject: [PATCH] fix(forms): remove label color change depending on status for #249 --- scss/mixins/_forms.scss | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index 7fa19b3082..e7de1249fc 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -143,9 +143,11 @@ .form-check-input { @include form-validation-state-selector($state) { - ~ .form-check-label { - color: $color; - } + // Boosted mod: label color doesn't change + // ~ .form-check-label { + // color: $color; + // } + // end mod ~ .#{$state}-feedback, ~ .#{$state}-tooltip { @@ -159,10 +161,10 @@ .custom-control-input { @include form-validation-state-selector($state) { ~ .custom-control-label { - color: $color; + // color: $color; // Boosted mod: label color doesn't change &::before { - color: inherit !important; + color: $color !important; border-color: currentColor !important; @include transition(none); }