diff options
Diffstat (limited to 'src/components/dialogs')
-rw-r--r-- | src/components/dialogs/PostInteractionSettingsDialog.tsx | 4 | ||||
-rw-r--r-- | src/components/dialogs/nuxs/NeueTypography.tsx | 2 | ||||
-rw-r--r-- | src/components/dialogs/nuxs/TenMillion/index.tsx | 21 |
3 files changed, 9 insertions, 18 deletions
diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx index d1828e4c8..47eefae6f 100644 --- a/src/components/dialogs/PostInteractionSettingsDialog.tsx +++ b/src/components/dialogs/PostInteractionSettingsDialog.tsx @@ -491,9 +491,7 @@ function Selectable({ }, style, ]}> - <Text style={[a.text_sm, isSelected && a.font_semibold]}> - {label} - </Text> + <Text style={[a.text_sm, isSelected && a.font_bold]}>{label}</Text> {isSelected ? ( <Check size="sm" fill={t.palette.primary_500} /> ) : ( diff --git a/src/components/dialogs/nuxs/NeueTypography.tsx b/src/components/dialogs/nuxs/NeueTypography.tsx index fa3936d25..f160c8774 100644 --- a/src/components/dialogs/nuxs/NeueTypography.tsx +++ b/src/components/dialogs/nuxs/NeueTypography.tsx @@ -48,7 +48,7 @@ export function NeueTypography() { <Dialog.ScrollableInner label={_(msg`Introducing new font settings`)}> <View style={[a.gap_xl]}> <View style={[a.gap_md]}> - <Text style={[a.text_3xl, {fontWeight: '900'}]}> + <Text style={[a.text_3xl, a.font_heavy]}> <Trans>New font settings ✨</Trans> </Text> <Text style={[a.text_lg, a.leading_snug, {maxWidth: 400}]}> diff --git a/src/components/dialogs/nuxs/TenMillion/index.tsx b/src/components/dialogs/nuxs/TenMillion/index.tsx index 896082409..21e775a10 100644 --- a/src/components/dialogs/nuxs/TenMillion/index.tsx +++ b/src/components/dialogs/nuxs/TenMillion/index.tsx @@ -19,10 +19,10 @@ import {isIOS, isNative} from '#/platform/detection' import {useModerationOpts} from '#/state/preferences/moderation-opts' import {useProfileQuery} from '#/state/queries/profile' import {useAgent, useSession} from '#/state/session' -import {useComposerControls} from 'state/shell' +import {useComposerControls} from '#/state/shell' import {formatCount} from '#/view/com/util/numeric/format' +import * as Toast from '#/view/com/util/Toast' import {Logomark} from '#/view/icons/Logomark' -import * as Toast from 'view/com/util/Toast' import { atoms as a, ThemeProvider, @@ -441,10 +441,10 @@ export function TenMillionInner({ allowFontScaling={false} style={[ a.absolute, + a.font_heavy, { color: t.palette.primary_500, fontSize: 32, - fontWeight: '900', width: 32, top: isNative ? -10 : 0, left: 0, @@ -462,11 +462,11 @@ export function TenMillionInner({ style={[ a.relative, a.text_center, + a.font_heavy, { fontStyle: 'italic', fontSize: getFontSize(userNumber), lineHeight: getFontSize(userNumber), - fontWeight: '900', letterSpacing: -2, }, ]}> @@ -536,7 +536,7 @@ export function TenMillionInner({ style={[ a.flex_1, a.text_sm, - a.font_semibold, + a.font_bold, a.leading_snug, lightTheme.atoms.text_contrast_medium, ]}> @@ -551,7 +551,7 @@ export function TenMillionInner({ style={[ a.flex_1, a.text_sm, - a.font_semibold, + a.font_bold, a.leading_snug, a.text_right, lightTheme.atoms.text_contrast_low, @@ -643,14 +643,7 @@ export function TenMillionInner({ <View style={[gtMobile ? a.p_2xl : a.p_xl]}> <Text allowFontScaling={false} - style={[ - a.text_5xl, - a.leading_tight, - a.pb_lg, - { - fontWeight: '900', - }, - ]}> + style={[a.text_5xl, a.leading_tight, a.pb_lg, a.font_heavy]}> <Trans>Thanks for being one of our first 10 million users.</Trans> </Text> |