matched button hover styling for dark toggle

This commit is contained in:
Paul Wackerow 2022-11-16 21:49:31 -08:00
parent 8e6023c60b
commit ecb4f6a9ce
No known key found for this signature in database
GPG Key ID: BB63E296FE9CAB8D
1 changed files with 4 additions and 0 deletions

View File

@ -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>