Skip to content

Commit

Permalink
fix: ThemeSwitch hover color override
Browse files Browse the repository at this point in the history
  • Loading branch information
hyesungoh committed Jun 20, 2022
1 parent c582e62 commit 6dedf6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/components/ThemeSwitch/ThemeSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export function ThemeSwitch() {
padding: '0',
'& span': { backgroundColor: '$white' },
'& div': { height: '32px' },
'--nextui--switchColor': theme?.colors.accents2.value,
'--nextui--switchColorHover': theme?.colors.accents2.value,
}}
size="lg"
checked={isDark}
Expand Down

0 comments on commit 6dedf6d

Please sign in to comment.