diff options
author | Eric Bailey <git@esb.lol> | 2024-09-20 17:29:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 17:29:58 -0500 |
commit | 7e2456b906563464c8e43867e62f07df9109bc2b (patch) | |
tree | 8dfca319f8b96190b7e83eb9ba37b17c24a2cb46 /src/components/moderation/ScreenHider.tsx | |
parent | 4161e233200cc1d111faef47f05881e44ab4e731 (diff) | |
download | voidsky-7e2456b906563464c8e43867e62f07df9109bc2b.tar.zst |
[Neue] Font weights (#5442)
* Align all font weights * Only load necessary fonts * Also comment out from hook
Diffstat (limited to 'src/components/moderation/ScreenHider.tsx')
-rw-r--r-- | src/components/moderation/ScreenHider.tsx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/components/moderation/ScreenHider.tsx b/src/components/moderation/ScreenHider.tsx index f855d6333..5680b60c2 100644 --- a/src/components/moderation/ScreenHider.tsx +++ b/src/components/moderation/ScreenHider.tsx @@ -10,9 +10,9 @@ import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useNavigation} from '@react-navigation/native' +import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries' import {useModerationCauseDescription} from '#/lib/moderation/useModerationCauseDescription' -import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries' -import {NavigationProp} from 'lib/routes/types' +import {NavigationProp} from '#/lib/routes/types' import {CenteredView} from '#/view/com/util/Views' import {atoms as a, useTheme, web} from '#/alf' import {Button, ButtonText} from '#/components/Button' @@ -86,13 +86,7 @@ export function ScreenHider({ </View> </View> <Text - style={[ - a.text_4xl, - a.font_semibold, - a.text_center, - a.mb_md, - t.atoms.text, - ]}> + style={[a.text_4xl, a.font_bold, a.text_center, a.mb_md, t.atoms.text]}> {isNoPwi ? ( <Trans>Sign-in Required</Trans> ) : ( @@ -118,7 +112,7 @@ export function ScreenHider({ <Text style={[ a.text_lg, - a.font_semibold, + a.font_bold, a.leading_snug, t.atoms.text, a.ml_xs, |