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>
<Text style={[a.text_lg, a.leading_snug]}> <Text style={[a.text_lg, a.leading_snug]}>
<Trans> <Trans>
To the ensure the best possible experience, we're introducing a To ensure the best possible experience, we're introducing a new
new theme font, along with adjustable font sizing settings. theme font, along with adjustable font sizing settings.
</Trans> </Trans>
</Text> </Text>
<Text <Text
+7 -9
View File
@@ -205,19 +205,11 @@ export function AppearanceToggleButtonGroup({
}) { }) {
const t = useTheme() const t = useTheme()
return ( return (
<View style={[a.gap_md]}> <View style={[a.gap_sm]}>
<View style={[a.gap_xs]}>
<View style={[a.flex_row, a.align_center, a.gap_md]}> <View style={[a.flex_row, a.align_center, a.gap_md]}>
<Icon style={t.atoms.text} /> <Icon style={t.atoms.text} />
<Text style={[a.text_md, a.font_bold]}>{title}</Text> <Text style={[a.text_md, a.font_bold]}>{title}</Text>
</View> </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}> <ToggleButton.Group label={title} values={values} onChange={onChange}>
{items.map(item => ( {items.map(item => (
<ToggleButton.Button <ToggleButton.Button
@@ -228,6 +220,12 @@ export function AppearanceToggleButtonGroup({
</ToggleButton.Button> </ToggleButton.Button>
))} ))}
</ToggleButton.Group> </ToggleButton.Group>
{description && (
<Text style={[a.text_sm, a.leading_snug, t.atoms.text_contrast_medium]}>
{description}
</Text>
)}
</View> </View>
) )
} }