diff options
author | Hailey <me@haileyok.com> | 2024-02-13 00:43:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 00:43:17 -0800 |
commit | 1f517cff0cf5aa3c3cb94c8d113ffddf6702d4f2 (patch) | |
tree | 81df12695eb9c9149808874f8531fa3be397450f /src | |
parent | d8245e96eab165d5446254e23e8ae5849354e7e5 (diff) | |
download | voidsky-1f517cff0cf5aa3c3cb94c8d113ffddf6702d4f2.tar.zst |
fix onboarding font size (#2857)
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/Onboarding/Layout.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/screens/Onboarding/Layout.tsx b/src/screens/Onboarding/Layout.tsx index d887c0820..6337cee09 100644 --- a/src/screens/Onboarding/Layout.tsx +++ b/src/screens/Onboarding/Layout.tsx @@ -17,7 +17,7 @@ import { flatten, TextStyleProp, } 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 {Button, ButtonIcon} from '#/components/Button' import {ScrollView} from '#/view/com/util/Views' @@ -209,16 +209,18 @@ export function Title({ style, }: React.PropsWithChildren<TextStyleProp>) { return ( - <H2 + <Text style={[ a.pb_sm, + a.text_4xl, + a.font_bold, { lineHeight: leading(a.text_4xl, a.leading_tight), }, flatten(style), ]}> {children} - </H2> + </Text> ) } |