diff --git a/packages/shared/package.json b/packages/shared/package.json index 644347ef3c..83b87f55b5 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -5,7 +5,7 @@ "author": "Bloom Labs Ltd ", "license": "PolyForm Strict License 1.0.0", "dependencies": { - "@bloomwalletio/ui": "0.21.0", + "@bloomwalletio/ui": "0.21.1", "@ethereumjs/common": "4.3.0", "@ethereumjs/rlp": "5.0.2", "@ethereumjs/tx": "5.3.0", diff --git a/packages/shared/src/components/avatars/NetworkAvatar.svelte b/packages/shared/src/components/avatars/NetworkAvatar.svelte index 35230168a1..517082ac80 100644 --- a/packages/shared/src/components/avatars/NetworkAvatar.svelte +++ b/packages/shared/src/components/avatars/NetworkAvatar.svelte @@ -18,6 +18,8 @@ [SupportedNetworkId.ShimmerEvm]: 'shimmer-evm-background', [SupportedNetworkId.IotaTestnetEvm]: 'iota-evm-background/90', [SupportedNetworkId.TestnetEvm]: 'shimmer-evm-background/90', + [SupportedNetworkId.Ethereum]: '#627eea', + [SupportedNetworkId.Sepolia]: 'text-secondary', } const AVATAR_TEXT_COLOR: { [id in NetworkId]?: string } = { @@ -29,6 +31,8 @@ [SupportedNetworkId.ShimmerEvm]: 'shimmer-evm', [SupportedNetworkId.IotaTestnetEvm]: '#FFFFFF', [SupportedNetworkId.TestnetEvm]: '#FFFFFF', + [SupportedNetworkId.Ethereum]: '#FFFFFF', + [SupportedNetworkId.Sepolia]: '#FFFFFF', } let anchor: HTMLElement diff --git a/packages/shared/src/components/avatars/TokenAvatar.svelte b/packages/shared/src/components/avatars/TokenAvatar.svelte index e0b5f09d6c..0815412ede 100644 --- a/packages/shared/src/components/avatars/TokenAvatar.svelte +++ b/packages/shared/src/components/avatars/TokenAvatar.svelte @@ -38,6 +38,12 @@ [SupportedNetworkId.TestnetEvm]: { [BASE_TOKEN_ID]: 'text-secondary', }, + [SupportedNetworkId.Ethereum]: { + [BASE_TOKEN_ID]: '#627eea', + }, + [SupportedNetworkId.Sepolia]: { + [BASE_TOKEN_ID]: 'text-secondary', + }, } const AVATAR_TEXT_COLOR: { [networkId: string]: { [tokenId: string]: string } } = { @@ -65,6 +71,12 @@ [SupportedNetworkId.TestnetEvm]: { [BASE_TOKEN_ID]: '#FFFFFF', }, + [SupportedNetworkId.Ethereum]: { + [BASE_TOKEN_ID]: '#FFFFFF', + }, + [SupportedNetworkId.Sepolia]: { + [BASE_TOKEN_ID]: '#FFFFFF', + }, } const IMAGE_SIZES: Record = { diff --git a/packages/shared/src/lib/auxiliary/icon/constants/default-network-icon.ts b/packages/shared/src/lib/auxiliary/icon/constants/default-network-icon.ts index 6faca58ddb..9def162865 100644 --- a/packages/shared/src/lib/auxiliary/icon/constants/default-network-icon.ts +++ b/packages/shared/src/lib/auxiliary/icon/constants/default-network-icon.ts @@ -10,4 +10,6 @@ export const DEFAULT_NETWORK_ICON: { [id in NetworkId]?: IconName } = { [SupportedNetworkId.ShimmerEvm]: IconName.Shimmer, [SupportedNetworkId.IotaTestnetEvm]: IconName.Iota, [SupportedNetworkId.TestnetEvm]: IconName.Shimmer, + [SupportedNetworkId.Ethereum]: IconName.Ethereum, + [SupportedNetworkId.Sepolia]: IconName.Ethereum, } diff --git a/packages/shared/src/lib/auxiliary/icon/constants/default-token-icon.ts b/packages/shared/src/lib/auxiliary/icon/constants/default-token-icon.ts index 8021d9eb27..194e84e39c 100644 --- a/packages/shared/src/lib/auxiliary/icon/constants/default-token-icon.ts +++ b/packages/shared/src/lib/auxiliary/icon/constants/default-token-icon.ts @@ -27,4 +27,10 @@ export const DEFAULT_TOKEN_ICON: { [networkId in NetworkId]?: { [tokenId: string [SupportedNetworkId.TestnetEvm]: { [BASE_TOKEN_ID]: IconName.Shimmer, }, + [SupportedNetworkId.Ethereum]: { + [BASE_TOKEN_ID]: IconName.Ethereum, + }, + [SupportedNetworkId.Sepolia]: { + [BASE_TOKEN_ID]: IconName.Ethereum, + }, }