@@ -6,12 +6,14 @@ import { type Address, getAddress } from "../../../../utils/address.js";
66import { useCustomTheme } from "../../../core/design-system/CustomThemeProvider.js" ;
77import {
88 fontSize ,
9+ iconSize ,
910 radius ,
1011 spacing ,
1112} from "../../../core/design-system/index.js" ;
1213import { useActiveAccount } from "../../../core/hooks/wallets/useActiveAccount.js" ;
1314import { ConnectButton } from "../ConnectWallet/ConnectButton.js" ;
1415import { PoweredByThirdweb } from "../ConnectWallet/PoweredByTW.js" ;
16+ import { OutlineWalletIcon } from "../ConnectWallet/icons/OutlineWalletIcon.js" ;
1517import { WalletRow } from "../ConnectWallet/screens/Buy/swap/WalletRow.js" ;
1618import type { PayEmbedConnectOptions } from "../PayEmbed.js" ;
1719import { Spacer } from "../components/Spacer.js" ;
@@ -120,23 +122,21 @@ export function FundWallet({
120122 { /* Header */ }
121123 < ModalHeader title = "Top up your wallet" leftAligned />
122124
123- < Spacer y = "xl " />
125+ < Spacer y = "lg " />
124126
125- < Container
126- flex = "column"
127- style = { {
128- border : `1px solid ${ theme . colors . borderColor } ` ,
129- borderRadius : radius . md ,
130- } }
131- >
132- < Spacer y = "lg" />
127+ < Container flex = "column" >
133128 { /* Token Info */ }
134129 < Container
135130 flex = "row"
136131 center = "both"
137132 gap = "3xs"
138- px = "md"
139- style = { { flexWrap : "nowrap" } }
133+ p = "md"
134+ style = { {
135+ flexWrap : "nowrap" ,
136+ border : `1px solid ${ theme . colors . borderColor } ` ,
137+ borderRadius : radius . md ,
138+ backgroundColor : theme . colors . tertiaryBg ,
139+ } }
140140 >
141141 < TokenAndChain token = { token } client = { client } size = "xl" />
142142 { /* Amount Input */ }
@@ -221,14 +221,13 @@ export function FundWallet({
221221 </ Container >
222222 </ Container >
223223
224- < Spacer y = "lg " />
224+ < Spacer y = "md " />
225225
226226 { /* Quick Amount Buttons */ }
227227 < Container
228228 flex = "row"
229229 center = "x"
230230 gap = "xs"
231- px = "md"
232231 style = { {
233232 justifyContent : "space-evenly" ,
234233 } }
@@ -271,18 +270,19 @@ export function FundWallet({
271270 </ Button >
272271 </ Container >
273272
274- < Spacer y = "lg " />
273+ < Spacer y = "md " />
275274
276275 < Container
277276 flex = "row"
278277 gap = "sm"
279278 px = "md"
279+ py = "sm"
280+ center = "y"
281+ color = "secondaryText"
280282 style = { {
281- borderTop : `1px solid ${ theme . colors . borderColor } ` ,
282- paddingTop : spacing . md ,
283+ border : `1px solid ${ theme . colors . borderColor } ` ,
283284 backgroundColor : theme . colors . tertiaryBg ,
284- paddingBottom : spacing . md ,
285- borderRadius : `0 0 ${ radius . md } ${ radius . md } ` ,
285+ borderRadius : radius . md ,
286286 } }
287287 >
288288 { receiver ? (
@@ -293,21 +293,23 @@ export function FundWallet({
293293 textSize = "sm"
294294 />
295295 ) : (
296- < Text
297- size = "sm"
298- color = "secondaryText"
299- center
300- style = { {
301- flex : 1 ,
302- } }
303- >
304- Connect your wallet to continue
305- </ Text >
296+ < >
297+ < OutlineWalletIcon size = { iconSize . md } />
298+ < Text
299+ size = "sm"
300+ color = "secondaryText"
301+ style = { {
302+ flex : 1 ,
303+ } }
304+ >
305+ No Wallet Connected
306+ </ Text >
307+ </ >
306308 ) }
307309 </ Container >
308310 </ Container >
309311
310- < Spacer y = "xl " />
312+ < Spacer y = "lg " />
311313
312314 { /* Continue Button */ }
313315 { receiver ? (
0 commit comments