Skip to content

Commit

Permalink
Fix Switch hover style
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmar committed Sep 26, 2023
1 parent cc6b8a7 commit d0df50e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ const SwitchSC = styled.label<SwitchStyleProps>(
backgroundColor: $checked
? theme.colors['action-primary-hover']
: theme.colors['action-input-hover'],
borderColor: $checked
? theme.colors['action-primary-hover']
: theme.colors['action-input-hover'],
},
[SwitchHandleSC]: {
backgroundColor: $checked
Expand Down Expand Up @@ -81,7 +78,7 @@ const SwitchToggleSC = styled.div<SwitchStyleProps>(
: $focused
? theme.colors['border-outline-focused']
: $checked
? theme.colors['action-primary']
? 'transparent'
: theme.colors['border-input'],
transition: 'all 0.15s ease',
})
Expand Down

0 comments on commit d0df50e

Please sign in to comment.