Skip to content

Commit

Permalink
revert Switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Burobin committed Jul 16, 2024
1 parent 858fcde commit e135fc7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/Switch/Switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,12 @@ $block: '.#{variables.$ns}switch';
#{$block}__indicator::before {
background-color: var(--g-color-base-generic-accent-disabled);
}

&#{$block}_checked {
#{$block}__indicator::before {
background-color: var(--g-color-base-brand);
opacity: 0.5;
}
}
}
}

0 comments on commit e135fc7

Please sign in to comment.