add pal.text to onboarding screens (#538)

zio/stable
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

@ -46,7 +46,7 @@ export const Step2 = observer(({model}: {model: CreateAccountModel}) => {
)}
{!model.inviteCode && model.isInviteCodeRequired ? (
<Text style={s.alignBaseline}>
<Text style={[s.alignBaseline, pal.text]}>
Don't have an invite code?{' '}
<TouchableWithoutFeedback onPress={onPressWaitlist}>
<Text style={pal.link}>Join the waitlist</Text>

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