matched button hover styling for dark toggle

pull/26459/head^2
Paul Wackerow 2 years ago
parent 8e6023c60b
commit ecb4f6a9ce
No known key found for this signature in database
GPG Key ID: BB63E296FE9CAB8D
  1. 4
      src/components/UI/Header.tsx

@ -100,6 +100,10 @@ export const Header: FC = () => {
borderRight={{ base: '2px', md: 'none' }}
borderColor='primary'
onClick={toggleColorMode}
_hover={{
bg: 'primary',
svg: { color: 'bg' }
}}
>
{isDark ? <SunIcon color='primary' /> : <MoonIcon color='primary' />}
</Box>

Loading…
Cancel
Save