1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Update new send icon (#18411)

* updated send icon

* optimised svg

* updated enum
This commit is contained in:
Nidhi Kumari 2023-04-07 06:13:15 +05:30 committed by GitHub
parent 92556867f7
commit b452f40e2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" id="icon-arrow-2-up-right" viewBox="0 0 512 512">
<path d="m137 107c0-12 10-22 22-22l225 0c12 0 21 10 21 22l0 225c0 12-9 21-21 21-12 0-21-9-21-21l0-174-241 241c-9 8-22 8-30 0-9-8-9-22 0-30l240-241-173 0c-12 0-22-10-22-21z"/>
</svg>

After

Width:  |  Height:  |  Size: 274 B

View File

@ -165,7 +165,7 @@ const EthOverview = ({ className }) => {
data-testid="eth-overview-send"
Icon={
<Icon
name={ICON_NAMES.ARROW_2_RIGHT}
name={ICON_NAMES.ARROW_2_UP_RIGHT}
color={IconColor.primaryInverse}
/>
}

View File

@ -139,7 +139,7 @@ const TokenOverview = ({ className, token }) => {
}}
Icon={
<Icon
name={ICON_NAMES.ARROW_2_RIGHT}
name={ICON_NAMES.ARROW_2_UP_RIGHT}
color={IconColor.primaryInverse}
/>
}

View File

@ -26,6 +26,7 @@ export enum IconName {
Arrow2Left = 'arrow-2-left',
Arrow2Right = 'arrow-2-right',
Arrow2Up = 'arrow-2-up',
Arrow2UpRight = 'arrow-2-up-right',
ArrowDoubleLeft = 'arrow-double-left',
ArrowDoubleRight = 'arrow-double-right',
ArrowDown = 'arrow-down',