Skip to content

Commit

Permalink
fix(styles): Checkbox checkmark are invisible on dark background (#2953)
Browse files Browse the repository at this point in the history
  • Loading branch information
imagoiq authored Apr 16, 2024
1 parent 0300ab9 commit 67bc6e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shy-melons-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed usage of background color on checkbox which make the checkmark invisible on dark background.
1 change: 0 additions & 1 deletion packages/styles/src/components/form-check.scss
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@

.form-switch {
.form-check-input {
background-color: transparent;
height: form-check.$form-switch-height;
width: form-check.$form-switch-width;
border: 0;
Expand Down

0 comments on commit 67bc6e0

Please sign in to comment.