Skip to content

Commit

Permalink
Improve checkbox visibility with transparent border in forced color m…
Browse files Browse the repository at this point in the history
…ode (#6082)
  • Loading branch information
deleonio authored Feb 29, 2024
2 parents 04e0697 + 57e6c36 commit f5818e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/themes/bmf/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1883,6 +1883,8 @@ export const BMF = KoliBri.createTheme('bmf', {
height: 1.5em;
border-radius: 1.25em;
position: relative;
/* Visible with forced colors */
outline: transparent solid 1px;
}
:host kol-input.switch input[type='checkbox']:before {
transition: 0.5;
Expand Down
2 changes: 2 additions & 0 deletions packages/themes/default/src/components/input-checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@
min-width: 3.5em;
position: relative;
width: 3.5em;
/* Visible with forced colors */
outline: transparent solid 1px;
}

:host kol-input.switch input[type='checkbox']:before {
Expand Down

0 comments on commit f5818e5

Please sign in to comment.