Skip to content

Commit

Permalink
Revert "fix(styles): fix invalid styles on the switch component"
Browse files Browse the repository at this point in the history
This reverts commit 6c636b4.
  • Loading branch information
davidritter-dotcom committed Aug 30, 2023
1 parent 4b04a76 commit 31b51f2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/styles/src/components/form-check.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
cursor: form-check.$form-check-label-cursor;
}

&[type='radio']:checked:not(.is-invalid),
&[type='checkbox']:checked:not(.is-invalid),
&[type='checkbox']:indeterminate:not(.is-invalid) {
&[type='radio']:checked,
&[type='checkbox']:checked,
&[type='checkbox']:indeterminate {
@include form-checks-mixins.form-check-color(form-check.$form-check-input-checked-color);
}

Expand All @@ -71,8 +71,8 @@
}
}

&[type='radio']:hover:not(:disabled):not(.is-invalid),
&[type='checkbox']:hover:not(:disabled):not(.is-invalid) {
&[type='radio']:hover:not(:disabled),
&[type='checkbox']:hover:not(:disabled) {
@include form-checks-mixins.form-check-color(form-check.$form-check-input-hover-color);
}
}
Expand Down

0 comments on commit 31b51f2

Please sign in to comment.