mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 04:26:37 +00:00
fix hamburger spelling
switch fill color to "currentColor" to allow using dark mode responsive "color" prop
This commit is contained in:
parent
d93e1b5d4d
commit
e77c1507f5
3 changed files with 7 additions and 7 deletions
|
|
@ -2,7 +2,7 @@ import { Box, Flex, Input, InputGroup, Link, Stack, Text } from '@chakra-ui/reac
|
||||||
import { FC } from 'react';
|
import { FC } from 'react';
|
||||||
import NextLink from 'next/link';
|
import NextLink from 'next/link';
|
||||||
|
|
||||||
import { HamburguerIcon, LensIcon, MoonIcon } from '../UI/icons';
|
import { HamburgerIcon, LensIcon, MoonIcon } from '../UI/icons';
|
||||||
import { DOCS_PAGE, DOWNLOADS_PAGE } from '../../constants';
|
import { DOCS_PAGE, DOWNLOADS_PAGE } from '../../constants';
|
||||||
|
|
||||||
export const Header: FC = () => {
|
export const Header: FC = () => {
|
||||||
|
|
@ -103,9 +103,9 @@ export const Header: FC = () => {
|
||||||
<MoonIcon />
|
<MoonIcon />
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
{/* HAMBURGUER MENU */}
|
{/* HAMBURGER MENU */}
|
||||||
<Box p={4} display={{ base: 'block', md: 'none' }}>
|
<Box p={4} display={{ base: 'block', md: 'none' }}>
|
||||||
<HamburguerIcon />
|
<HamburgerIcon color="primary" />
|
||||||
</Box>
|
</Box>
|
||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { createIcon } from '@chakra-ui/icons';
|
import { createIcon } from '@chakra-ui/icons';
|
||||||
|
|
||||||
export const HamburguerIcon = createIcon({
|
export const HamburgerIcon = createIcon({
|
||||||
displayName: 'HamburguerIcon',
|
displayName: 'HamburgerIcon',
|
||||||
viewBox: '0 0 22 14',
|
viewBox: '0 0 22 14',
|
||||||
path: (
|
path: (
|
||||||
<svg width={22} height={14} fill='none' xmlns='http://www.w3.org/2000/svg'>
|
<svg width={22} height={14} fill='none' xmlns='http://www.w3.org/2000/svg'>
|
||||||
|
|
@ -9,7 +9,7 @@ export const HamburguerIcon = createIcon({
|
||||||
fillRule='evenodd'
|
fillRule='evenodd'
|
||||||
clipRule='evenodd'
|
clipRule='evenodd'
|
||||||
d='M0 .5h22v.97H0V.5Zm0 6.017h22v.97H0v-.97Zm22 6.013H0v.97h22v-.97Z'
|
d='M0 .5h22v.97H0V.5Zm0 6.017h22v.97H0v-.97Zm22 6.013H0v.97h22v-.97Z'
|
||||||
fill='#11866F'
|
fill='currentColor'
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
)
|
)
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
export * from './DiscordIcon'
|
export * from './DiscordIcon'
|
||||||
export * from './GitHubIcon'
|
export * from './GitHubIcon'
|
||||||
export * from './HamburguerIcon';
|
export * from './HamburgerIcon';
|
||||||
export * from './LensIcon';
|
export * from './LensIcon';
|
||||||
export * from './MoonIcon';
|
export * from './MoonIcon';
|
||||||
export * from './TwitterIcon'
|
export * from './TwitterIcon'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue