Copy tweaks
This commit is contained in:
@@ -49,19 +49,18 @@ export function NeueTypography() {
|
|||||||
<View style={[a.gap_xl]}>
|
<View style={[a.gap_xl]}>
|
||||||
<View style={[a.gap_md]}>
|
<View style={[a.gap_md]}>
|
||||||
<Text style={[a.text_3xl, {fontWeight: '900'}]}>
|
<Text style={[a.text_3xl, {fontWeight: '900'}]}>
|
||||||
<Trans>Introducing new font settings ✨</Trans>
|
<Trans>New font settings ✨</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<Text style={[a.text_lg, a.leading_snug]}>
|
<Text style={[a.text_lg, a.leading_snug, {maxWidth: 400}]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
To ensure the best possible experience, we're introducing a new
|
We're introducing a new theme font, along with adjustable font
|
||||||
theme font, along with adjustable font sizing settings.
|
sizing.
|
||||||
</Trans>
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<Text
|
||||||
style={[a.text_sm, a.leading_snug, t.atoms.text_contrast_medium]}>
|
style={[a.text_sm, a.leading_snug, t.atoms.text_contrast_medium]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
Defaults are shown below. You can edit these in your Appearance
|
You can adjust these in your Appearance Settings later.
|
||||||
Settings later.
|
|
||||||
</Trans>
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -206,9 +206,17 @@ export function AppearanceToggleButtonGroup({
|
|||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
return (
|
return (
|
||||||
<View style={[a.gap_sm]}>
|
<View style={[a.gap_sm]}>
|
||||||
<View style={[a.flex_row, a.align_center, a.gap_md]}>
|
<View style={[a.gap_xs]}>
|
||||||
<Icon style={t.atoms.text} />
|
<View style={[a.flex_row, a.align_center, a.gap_md]}>
|
||||||
<Text style={[a.text_md, a.font_bold]}>{title}</Text>
|
<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>
|
</View>
|
||||||
<ToggleButton.Group label={title} values={values} onChange={onChange}>
|
<ToggleButton.Group label={title} values={values} onChange={onChange}>
|
||||||
{items.map(item => (
|
{items.map(item => (
|
||||||
@@ -220,12 +228,6 @@ 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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user