Skip to content

Commit 81190fd

Browse files
feat: add new octopus and rococo icons (#1899)
* feat: add new octopus and rococo icons * fix: formatting * refactor: edit icon memo
1 parent f4e53cc commit 81190fd

4 files changed

Lines changed: 42 additions & 2 deletions

File tree

src/components/ProfileCard/NetworkOption/NetworkOption.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import { useStyles } from './networkOption.style';
1515
import useBlockchain from 'components/common/Blockchain/use-blockchain.hook';
1616
import {
1717
NearNetworkIcon24,
18-
MyriadCircleIcon,
18+
MyriadOctopusIcon,
19+
MyriadRococoIcon,
1920
PolkadotNetworkIcon,
2021
KusamaNetworkIcon,
2122
DebioNetworkIcon,
@@ -48,7 +49,8 @@ export const NetworkOption: React.FC<NetworkOptionProps> = ({
4849
polkadot: <PolkadotNetworkIcon />,
4950
kusama: <KusamaNetworkIcon />,
5051
near: <NearNetworkIcon24 />,
51-
myriad: <MyriadCircleIcon />,
52+
myriad: <MyriadOctopusIcon />,
53+
rococo: <MyriadRococoIcon />,
5254
debio: <DebioNetworkIcon />,
5355
}),
5456
[],

src/components/atoms/Icons/Core.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import MyriadCircle from 'src/images/Icons/myriad-circle.svg';
1212
import MyriadFullBlack from 'src/images/Icons/myriad-full-black.svg';
1313
import MyriadGrey from 'src/images/Icons/myriad-grey.svg';
1414
import MyriadFull from 'src/images/Icons/myriad-logo-full.svg';
15+
import MyriadOctopus from 'src/images/Icons/myriad-octopus.svg';
16+
import MyriadRococo from 'src/images/Icons/myriad-rococo.svg';
1517
import Notification from 'src/images/Icons/notif-default.svg';
1618
import OfficialBadge from 'src/images/Icons/official-badge.svg';
1719

@@ -26,6 +28,24 @@ export const MyriadCircleIcon: React.FC<IconProps> = props => (
2628
/>
2729
);
2830

31+
export const MyriadOctopusIcon: React.FC<IconProps> = props => (
32+
<SvgIcon
33+
component={MyriadOctopus}
34+
viewBox="0 0 30 30"
35+
style={{ width: props.width, height: props.height, fill: 'none' }}
36+
{...props}
37+
/>
38+
);
39+
40+
export const MyriadRococoIcon: React.FC<IconProps> = props => (
41+
<SvgIcon
42+
component={MyriadRococo}
43+
viewBox="0 0 30 30"
44+
style={{ width: props.width, height: props.height, fill: 'none' }}
45+
{...props}
46+
/>
47+
);
48+
2949
export const MyriadFullIcon: React.FC<IconProps> = props => {
3050
const { width = 221, height = 48 } = props;
3151
return (

src/images/Icons/myriad-octopus.svg

Lines changed: 9 additions & 0 deletions
Loading

src/images/Icons/myriad-rococo.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)