Copy tweaks

This commit is contained in:
Eric Bailey
2024-09-19 15:33:40 -05:00
parent 1d7b47df58
commit e768945d5b
2 changed files with 16 additions and 15 deletions
@@ -49,19 +49,18 @@ export function NeueTypography() {
<View style={[a.gap_xl]}>
<View style={[a.gap_md]}>
<Text style={[a.text_3xl, {fontWeight: '900'}]}>
<Trans>Introducing new font settings </Trans>
<Trans>New font settings </Trans>
</Text>
<Text style={[a.text_lg, a.leading_snug]}>
<Text style={[a.text_lg, a.leading_snug, {maxWidth: 400}]}>
<Trans>
To ensure the best possible experience, we're introducing a new
theme font, along with adjustable font sizing settings.
We're introducing a new theme font, along with adjustable font
sizing.
</Trans>
</Text>
<Text
style={[a.text_sm, a.leading_snug, t.atoms.text_contrast_medium]}>
<Trans>
Defaults are shown below. You can edit these in your Appearance
Settings later.
You can adjust these in your Appearance Settings later.
</Trans>
</Text>
</View>
+11 -9
View File
@@ -206,9 +206,17 @@ export function AppearanceToggleButtonGroup({
const t = useTheme()
return (
<View style={[a.gap_sm]}>
<View style={[a.flex_row, a.align_center, a.gap_md]}>
<Icon style={t.atoms.text} />
<Text style={[a.text_md, a.font_bold]}>{title}</Text>
<View style={[a.gap_xs]}>
<View style={[a.flex_row, a.align_center, a.gap_md]}>
<Icon style={t.atoms.text} />
<Text style={[a.text_md, a.font_bold]}>{title}</Text>
</View>
{description && (
<Text
style={[a.text_sm, a.leading_snug, t.atoms.text_contrast_medium]}>
{description}
</Text>
)}
</View>
<ToggleButton.Group label={title} values={values} onChange={onChange}>
{items.map(item => (
@@ -220,12 +228,6 @@ export function AppearanceToggleButtonGroup({
</ToggleButton.Button>
))}
</ToggleButton.Group>
{description && (
<Text style={[a.text_sm, a.leading_snug, t.atoms.text_contrast_medium]}>
{description}
</Text>
)}
</View>
)
}