mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-05 02:45:02 +00:00
matched button hover styling for dark toggle
This commit is contained in:
parent
8e6023c60b
commit
ecb4f6a9ce
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Reference in a new issue