Password flow tweaks

This commit is contained in:
Eric Bailey 2024-03-20 17:14:13 -05:00
parent 70f5cc6a9f
commit b0fcfa563d
4 changed files with 29 additions and 25 deletions

View file

@ -13,16 +13,17 @@ export function FormError({error}: {error?: string}) {
return (
<View
style={[
{backgroundColor: t.palette.negative_600},
{backgroundColor: t.palette.negative_400},
a.flex_row,
a.align_center,
a.mb_lg,
a.rounded_sm,
a.p_sm,
a.p_md,
a.gap_sm,
]}>
<Warning fill={t.palette.white} size="sm" />
<View style={(a.flex_1, a.ml_sm)}>
<Text style={[{color: t.palette.white}, a.font_bold]}>{error}</Text>
<Warning fill={t.palette.white} size="md" />
<View>
<Text style={[{color: t.palette.white}, a.font_bold, a.leading_snug]}>
{error}
</Text>
</View>
</View>
)