Skip to content

Commit 8f75d50

Browse files
committed
ui updates in buy widget
1 parent 1d98c3e commit 8f75d50

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

packages/thirdweb/src/react/web/ui/Bridge/FundWallet.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export function FundWallet({
150150
style={{
151151
backgroundColor: theme.colors.tertiaryBg,
152152
border: `1px solid ${theme.colors.borderColor}`,
153-
borderRadius: radius.md,
153+
borderRadius: radius.lg,
154154
flexWrap: "nowrap",
155155
}}
156156
>
@@ -251,11 +251,11 @@ export function FundWallet({
251251
{/* Quick Amount Buttons */}
252252
{presetOptions && (
253253
<>
254-
<Spacer y="md" />
254+
<Spacer y="sm" />
255255
<Container
256256
center="x"
257257
flex="row"
258-
gap="xs"
258+
gap="sm"
259259
style={{
260260
justifyContent: "space-evenly",
261261
}}
@@ -268,6 +268,7 @@ export function FundWallet({
268268
backgroundColor: theme.colors.tertiaryBg,
269269
flex: 1,
270270
fontSize: fontSize.sm,
271+
borderRadius: radius.lg,
271272
padding: `${spacing.sm} ${spacing.md}`,
272273
}}
273274
variant="outline"
@@ -279,7 +280,7 @@ export function FundWallet({
279280
</>
280281
)}
281282

282-
<Spacer y="md" />
283+
<Spacer y="sm" />
283284

284285
<Container
285286
center="y"
@@ -291,7 +292,7 @@ export function FundWallet({
291292
style={{
292293
backgroundColor: theme.colors.tertiaryBg,
293294
border: `1px solid ${theme.colors.borderColor}`,
294-
borderRadius: radius.md,
295+
borderRadius: radius.lg,
295296
}}
296297
>
297298
{receiver ? (
@@ -336,7 +337,7 @@ export function FundWallet({
336337
}}
337338
style={{
338339
fontSize: fontSize.md,
339-
padding: `${spacing.sm} ${spacing.md}`,
340+
borderRadius: radius.lg,
340341
}}
341342
variant="primary"
342343
>

packages/thirdweb/src/react/web/ui/Bridge/common/TokenAndChain.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function TokenAndChain({
6060
height:
6161
size === "lg" || size === "xl" ? iconSize.sm : iconSize.xs,
6262
position: "absolute",
63-
right: "-6px",
63+
right: "-2px",
6464
width: size === "lg" || size === "xl" ? iconSize.sm : iconSize.xs,
6565
}}
6666
>
@@ -73,7 +73,7 @@ export function TokenAndChain({
7373
)}
7474
</Container>
7575

76-
<Container flex="column" gap="3xs" style={{ minWidth: 0 }}>
76+
<Container flex="column" gap="4xs" style={{ minWidth: 0 }}>
7777
<Text
7878
color="primaryText"
7979
size={size === "xl" ? "lg" : "sm"}
@@ -83,6 +83,7 @@ export function TokenAndChain({
8383
whiteSpace: "nowrap",
8484
}}
8585
weight={600}
86+
trackingTight
8687
>
8788
{token.name}
8889
</Text>

packages/thirdweb/src/react/web/ui/Bridge/payment-details/PaymentDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export function PaymentDetails({
269269
<Container flex="column" fullHeight p="md">
270270
<ModalHeader onBack={onBack} title={title || "Payment Details"} />
271271

272-
<Spacer y="xl" />
272+
<Spacer y="lg" />
273273

274274
<Container flex="column">
275275
{/* Quote Summary */}

packages/thirdweb/src/react/web/ui/Bridge/payment-selection/FiatProviderSelection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export function FiatProviderSelection({
189189
>
190190
<Spinner color="secondaryText" size="xl" />
191191
<Spacer y="lg" />
192-
<Text center color="primaryText" size="lg" weight={500}>
192+
<Text center color="primaryText" size="lg" weight={600} trackingTight>
193193
Searching Providers
194194
</Text>
195195
<Spacer y="xs" />

0 commit comments

Comments
 (0)