fix onboarding font size (#2857)
parent
d8245e96ea
commit
1f517cff0c
|
@ -17,7 +17,7 @@ import {
|
||||||
flatten,
|
flatten,
|
||||||
TextStyleProp,
|
TextStyleProp,
|
||||||
} from '#/alf'
|
} from '#/alf'
|
||||||
import {H2, P, leading} from '#/components/Typography'
|
import {P, leading, Text} from '#/components/Typography'
|
||||||
import {ChevronLeft_Stroke2_Corner0_Rounded as ChevronLeft} from '#/components/icons/Chevron'
|
import {ChevronLeft_Stroke2_Corner0_Rounded as ChevronLeft} from '#/components/icons/Chevron'
|
||||||
import {Button, ButtonIcon} from '#/components/Button'
|
import {Button, ButtonIcon} from '#/components/Button'
|
||||||
import {ScrollView} from '#/view/com/util/Views'
|
import {ScrollView} from '#/view/com/util/Views'
|
||||||
|
@ -209,16 +209,18 @@ export function Title({
|
||||||
style,
|
style,
|
||||||
}: React.PropsWithChildren<TextStyleProp>) {
|
}: React.PropsWithChildren<TextStyleProp>) {
|
||||||
return (
|
return (
|
||||||
<H2
|
<Text
|
||||||
style={[
|
style={[
|
||||||
a.pb_sm,
|
a.pb_sm,
|
||||||
|
a.text_4xl,
|
||||||
|
a.font_bold,
|
||||||
{
|
{
|
||||||
lineHeight: leading(a.text_4xl, a.leading_tight),
|
lineHeight: leading(a.text_4xl, a.leading_tight),
|
||||||
},
|
},
|
||||||
flatten(style),
|
flatten(style),
|
||||||
]}>
|
]}>
|
||||||
{children}
|
{children}
|
||||||
</H2>
|
</Text>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue