Skip to content

Commit

Permalink
fix(switch): focus visible style
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteves60 authored and dpellier committed Jul 29, 2024
1 parent c5ba056 commit fa0bf98
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
font-size: 16px;
font-weight: 600;

&:not(.ods-switch-item__label--disabled):hover {
background-color: var(--ods-color-primary-100);
&:not(.ods-switch-item__label--disabled) {
&:hover, &:focus-visible {
background-color: var(--ods-color-primary-100);
}
}

&--disabled {
Expand Down

0 comments on commit fa0bf98

Please sign in to comment.