Skip to content

Commit 49b9048

Browse files
committed
update typography
1 parent ad51ef1 commit 49b9048

File tree

2 files changed

+21
-17
lines changed

2 files changed

+21
-17
lines changed

apps/wallet/src/routes/onboarding/import.tsx

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function RouteComponent() {
2727
})
2828

2929
return (
30-
<div>
30+
<div className="h-full">
3131
{onboardingState.type === 'import-wallet' && (
3232
<ImportWallet
3333
onNext={mnemonic =>
@@ -58,18 +58,22 @@ function ImportWallet({ onNext }: { onNext: (mnemonic: string) => void }) {
5858
})
5959

6060
return (
61-
<div className="flex flex-col gap-4">
62-
<Text size={15}>Import via recovery phrase</Text>
63-
<Text size={13} className="text-neutral-50">
64-
Type or paste your 12-, 18-, or 24-word Ethereum recovery phrase
65-
</Text>
66-
<textarea
67-
className="h-32 resize-none rounded-12 border border-neutral-20 bg-white-100 p-2 text-neutral-100 placeholder:text-neutral-40 dark:border-neutral-60 dark:bg-neutral-100"
68-
placeholder="Recovery phrase"
69-
{...register('mnemonic', {
70-
required: 'Recovery phrase is required',
71-
})}
72-
/>
61+
<div className="flex h-full flex-col justify-between">
62+
<div className="flex flex-col gap-1">
63+
<Text size={27} weight="semibold">
64+
Import via recovery phrase
65+
</Text>
66+
<Text size={15} color="$neutral-50">
67+
Type or paste your 12-, 18-, or 24-word Ethereum recovery phrase
68+
</Text>
69+
<textarea
70+
className="mt-4 h-32 resize-none rounded-12 border border-neutral-20 bg-white-100 p-2 text-neutral-100 placeholder:text-neutral-40 dark:border-neutral-60 dark:bg-neutral-100"
71+
placeholder="Recovery phrase"
72+
{...register('mnemonic', {
73+
required: 'Recovery phrase is required',
74+
})}
75+
/>
76+
</div>
7377
{errors.mnemonic && (
7478
<p className="text-13 text-danger-50">{errors.mnemonic.message}</p>
7579
)}

apps/wallet/src/routes/onboarding/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function RouteComponent() {
2222
<br />
2323
Your crypto.
2424
</Text>
25-
<Text size={15} className="text-neutral-50">
25+
<Text size={15} color="$neutral-50">
2626
Some awesome sub copy
2727
</Text>
2828
</div>
@@ -34,14 +34,14 @@ function RouteComponent() {
3434
Import wallet
3535
</Button>
3636
</div>
37-
<Text size={13} className="text-neutral-50">
37+
<Text size={13} color="$neutral-50">
3838
By continuing you agree with Status
3939
<br />
40-
<Link to="/onboarding" className="text-neutral-100">
40+
<Link to="/onboarding" color="$neutral-100">
4141
Terms of use
4242
</Link>{' '}
4343
and{' '}
44-
<Link to="/onboarding" className="text-neutral-100">
44+
<Link to="/onboarding" color="$neutral-100">
4545
Privacy policy
4646
</Link>
4747
</Text>

0 commit comments

Comments
 (0)