@@ -69,7 +69,7 @@ export const NetworkSelect = () => {
69
69
return (
70
70
< Popover as = 'div' className = 'relative' >
71
71
< PopoverButton
72
- className = 'bg-ic-gray-900 text-ic-white flex items-center gap-2 rounded-md border-none px-4 py-1 text-sm transition-all duration-300 hover:scale-[1.04]'
72
+ className = 'text-ic-white flex items-center gap-2 rounded-md border-none bg-zinc-900 px-4 py-1 text-sm transition-all duration-300 hover:scale-[1.04]'
73
73
onClick = { ( ) => open ( { view : 'Networks' } ) }
74
74
>
75
75
{ imageSrc && (
@@ -93,7 +93,7 @@ export const NetworkSelect = () => {
93
93
anchor = 'bottom'
94
94
initial = { { opacity : 0 , scale : 0.95 } }
95
95
animate = { { opacity : 1 , scale : 1 , transition : { delay : 1 } } }
96
- className = 'dark:bg-ic-black dark:border-ic-gray-800 dark: text-ic-white text-ic- black z-50 mt-8 w-80 !overflow-visible rounded-md border border-gray-300 bg-white p-4 shadow-md'
96
+ className = 'text-ic-black z-50 mt-8 w-80 !overflow-visible rounded-md border border-gray-300 bg-white p-4 shadow-md dark:border-neutral-600 dark:bg-zinc-900 dark:text-neutral-50 '
97
97
exit = { { opacity : 0 , scale : 0.95 } }
98
98
>
99
99
{ ! pathname . startsWith ( Path . EARN ) && (
@@ -116,22 +116,20 @@ export const NetworkSelect = () => {
116
116
< XMarkIcon className = 'dark:fill-ic-white group-hover:fill-ic-white' />
117
117
</ Button >
118
118
) }
119
- < div className = 'border-b-ic-gray-300 dark:border-b-ic-gray-800 absolute -top-[18px] left-1/2 h-0 w-0 -translate-x-1/2 border-b-[18px] border-l-[13px] border-r-[13px] border-l-transparent border-r-transparent' > </ div >
120
- < div className = 'border-b-ic-white dark:border-b-ic-black absolute -top-4 left-1/2 h-0 w-0 -translate-x-1/2 border-b-[16px] border-l-[12px] border-r-[12px] border-l-transparent border-r-transparent' > </ div >
119
+ < div className = 'border-b-ic-gray-300 absolute -top-[18px] left-1/2 h-0 w-0 -translate-x-1/2 border-b-[18px] border-l-[13px] border-r-[13px] border-l-transparent border-r-transparent dark:border-b-neutral-600 ' > </ div >
120
+ < div className = 'border-b-ic-white absolute -top-4 left-1/2 h-0 w-0 -translate-x-1/2 border-b-[16px] border-l-[12px] border-r-[12px] border-l-transparent border-r-transparent dark:border-b-zinc-900 ' > </ div >
121
121
122
- < p className = 'text-md mb-6 mt-2 font-bold ' >
122
+ < p className = 'text-md mb-6 mt-2 text-neutral-400 ' >
123
123
You have followed a link that requires your wallet to switch to{ ' ' }
124
- < b className = 'text-ic-blue-500 ' > { getNetworkName ( chainId ) } </ b > .
124
+ < b className = 'text-neutral-50 ' > { getNetworkName ( chainId ) } </ b > .
125
125
</ p >
126
- < p className = 'text-sm' >
126
+ < p className = 'text-sm text-neutral-400 ' >
127
127
Your wallet is currently connected to{ ' ' }
128
- < b className = 'text-ic-blue-500' >
129
- { getNetworkName ( walletChainId ) }
130
- </ b >
128
+ < b className = 'text-neutral-50' > { getNetworkName ( walletChainId ) } </ b >
131
129
.
132
130
</ p >
133
131
< Button
134
- className = 'bg-ic-blue-500 hover:bg-ic-blue-500/90 active:bg-ic-blue-500/80 mt-4 w-full rounded-md p-2 font-bold text-white '
132
+ className = 'mt-4 w-full rounded-3xl bg-neutral-50 p-2 font-bold text-neutral-900 hover:bg-neutral-100 active:bg-neutral-200 '
135
133
onClick = { ( ) => chainId && switchChain ( { chainId } ) }
136
134
>
137
135
Switch to { getNetworkName ( chainId ) }
0 commit comments