Skip to content

Commit

Permalink
fix(checkbox): ensure that border shows in high contrast mode (#10823)
Browse files Browse the repository at this point in the history
**Related Issue:** #10537 

## Summary

Applies a border for high contrast mode in Firefox.
  • Loading branch information
jcfranco authored Nov 21, 2024
1 parent 8716293 commit ff05231
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,13 @@
}
}

@media (forced-colors: active) {
.check-svg {
/* use real border since box-shadow is removed in high contrast mode */
border: 1px solid currentColor;
}
}

@include disabled();
@include hidden-form-input();
@include base-component();

0 comments on commit ff05231

Please sign in to comment.