add pal.text to onboarding screens (#538)

This commit is contained in:
Ansh 2023-04-25 18:46:34 -07:00 committed by GitHub
parent ae895155fd
commit e99c324f14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -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>
)
}