Copy and spacing tweaks

This commit is contained in:
Eric Bailey
2024-09-19 14:33:09 -05:00
parent 1523160467
commit 1d7b47df58
2 changed files with 12 additions and 14 deletions
@@ -53,8 +53,8 @@ export function NeueTypography() {
</Text>
<Text style={[a.text_lg, a.leading_snug]}>
<Trans>
To the ensure the best possible experience, we're introducing a
new theme font, along with adjustable font sizing settings.
To ensure the best possible experience, we're introducing a new
theme font, along with adjustable font sizing settings.
</Trans>
</Text>
<Text
+10 -12
View File
@@ -205,18 +205,10 @@ export function AppearanceToggleButtonGroup({
}) {
const t = useTheme()
return (
<View style={[a.gap_md]}>
<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 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>
<ToggleButton.Group label={title} values={values} onChange={onChange}>
{items.map(item => (
@@ -228,6 +220,12 @@ export function AppearanceToggleButtonGroup({
</ToggleButton.Button>
))}
</ToggleButton.Group>
{description && (
<Text style={[a.text_sm, a.leading_snug, t.atoms.text_contrast_medium]}>
{description}
</Text>
)}
</View>
)
}