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 | |
parent | ae895155fd2ca317afa59066633c12e8968e9e7c (diff) | |
download | voidsky-e99c324f14f44ab00427648d74c8332d34c1dc1c.tar.zst |
add pal.text to onboarding screens (#538)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/auth/create/Step2.tsx | 2 | ||||
-rw-r--r-- | src/view/com/auth/create/StepHeader.tsx | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/view/com/auth/create/Step2.tsx b/src/view/com/auth/create/Step2.tsx index 5a70e31a0..375f80796 100644 --- a/src/view/com/auth/create/Step2.tsx +++ b/src/view/com/auth/create/Step2.tsx @@ -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> 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> ) } |