Skip to content

Commit

Permalink
fix(forms): remove label color change depending on status for #249
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Jan 8, 2020
1 parent 30fe4cf commit f4a1b8d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions scss/mixins/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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);
}
Expand Down

0 comments on commit f4a1b8d

Please sign in to comment.