diff options
author | Ansh <anshnanda10@gmail.com> | 2023-04-25 18:46:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 20:46:34 -0500 |
commit | e99c324f14f44ab00427648d74c8332d34c1dc1c (patch) | |
tree | 8c8e54432c85ad3cbc242e580e4ea7cfd9fac62b /src/view/com/auth/create/StepHeader.tsx | |
parent | ae895155fd2ca317afa59066633c12e8968e9e7c (diff) | |
download | voidsky-e99c324f14f44ab00427648d74c8332d34c1dc1c.tar.zst |
add pal.text to onboarding screens (#538)
Diffstat (limited to 'src/view/com/auth/create/StepHeader.tsx')
-rw-r--r-- | src/view/com/auth/create/StepHeader.tsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/view/com/auth/create/StepHeader.tsx b/src/view/com/auth/create/StepHeader.tsx index 8c852b640..4b4eb5d23 100644 --- a/src/view/com/auth/create/StepHeader.tsx +++ b/src/view/com/auth/create/StepHeader.tsx @@ -7,10 +7,12 @@ export function StepHeader({step, title}: {step: string; title: string}) { const pal = usePalette('default') return ( <View style={styles.container}> - <Text type="lg" style={pal.textLight}> + <Text type="lg" style={[pal.textLight]}> {step === '3' ? 'Last step!' : <>Step {step} of 3</>} </Text> - <Text type="title-xl">{title}</Text> + <Text style={[pal.text]} type="title-xl"> + {title} + </Text> </View> ) } |