mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 12:36:48 +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' }}
|
borderRight={{ base: '2px', md: 'none' }}
|
||||||
borderColor='primary'
|
borderColor='primary'
|
||||||
onClick={toggleColorMode}
|
onClick={toggleColorMode}
|
||||||
|
_hover={{
|
||||||
|
bg: 'primary',
|
||||||
|
svg: { color: 'bg' }
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{isDark ? <SunIcon color='primary' /> : <MoonIcon color='primary' />}
|
{isDark ? <SunIcon color='primary' /> : <MoonIcon color='primary' />}
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue