Update atoms values

This commit is contained in:
Eric Bailey
2024-02-13 10:56:34 -06:00
parent 4e9eed5389
commit 06ede19066
4 changed files with 9 additions and 9 deletions
@@ -25,7 +25,7 @@ export function ErrorState({error}: {error: string}) {
return ( return (
<View style={[a.px_xl]}> <View style={[a.px_xl]}>
<CircleInfo width={48} style={[t.atoms.text_contrast_400]} /> <CircleInfo width={48} style={[t.atoms.text_contrast_low]} />
<Text style={[a.text_xl, a.font_bold, a.pb_md, a.pt_xl]}> <Text style={[a.text_xl, a.font_bold, a.pb_md, a.pt_xl]}>
<Trans>Hmmmm, we couldn't load that moderation service.</Trans> <Trans>Hmmmm, we couldn't load that moderation service.</Trans>
@@ -35,7 +35,7 @@ export function ErrorState({error}: {error: string}) {
a.text_md, a.text_md,
a.leading_normal, a.leading_normal,
a.pb_md, a.pb_md,
t.atoms.text_contrast_700, t.atoms.text_contrast_medium,
]}> ]}>
<Trans> <Trans>
This moderation service is unavailable. See below for more details. If This moderation service is unavailable. See below for more details. If
@@ -122,7 +122,7 @@ export function Header({
</Text> </Text>
</Button> </Button>
<Text style={[a.text_md, t.atoms.text_contrast_700]}> <Text style={[a.text_md, t.atoms.text_contrast_medium]}>
<Trans>Moderation service</Trans> <Trans>Moderation service</Trans>
</Text> </Text>
</View> </View>
@@ -208,7 +208,7 @@ function CommonControls({
accessibilityLabel={_(msg`More options`)} accessibilityLabel={_(msg`More options`)}
accessibilityHint=""> accessibilityHint="">
<View style={[a.rounded_full, a.p_sm, t.atoms.bg_contrast_50]}> <View style={[a.rounded_full, a.p_sm, t.atoms.bg_contrast_50]}>
<Ellipsis width={20} fill={t.atoms.text_contrast_700.color} /> <Ellipsis width={20} fill={t.atoms.text_contrast_medium.color} />
</View> </View>
</NativeDropdown> </NativeDropdown>
) )
@@ -33,7 +33,7 @@ export function PreferenceRow({labelGroup}: {labelGroup: string}) {
]}> ]}>
<View style={[a.gap_xs, {width: '50%'}]}> <View style={[a.gap_xs, {width: '50%'}]}>
<Text style={[a.font_bold]}>{groupInfoStrings.name}</Text> <Text style={[a.font_bold]}>{groupInfoStrings.name}</Text>
<Text style={[t.atoms.text_contrast_700, a.leading_snug]}> <Text style={[t.atoms.text_contrast_medium, a.leading_snug]}>
{groupInfoStrings.description} {groupInfoStrings.description}
</Text> </Text>
</View> </View>
@@ -62,7 +62,7 @@ export function ProfileModserviceScreen(
style={[ style={[
a.border_l, a.border_l,
a.border_r, a.border_r,
t.atoms.border, t.atoms.border_contrast_low,
{ {
minHeight: MIN_HEIGHT, minHeight: MIN_HEIGHT,
}, },
@@ -200,7 +200,7 @@ export function ProfileModserviceScreenInner({
style={[ style={[
a.text_md, a.text_md,
a.leading_normal, a.leading_normal,
t.atoms.text_contrast_700, t.atoms.text_contrast_medium,
{fontStyle: 'italic'}, {fontStyle: 'italic'},
]}> ]}>
<Trans>No description</Trans> <Trans>No description</Trans>
@@ -212,7 +212,7 @@ export function ProfileModserviceScreenInner({
a.text_md, a.text_md,
a.leading_normal, a.leading_normal,
a.italic, a.italic,
t.atoms.text_contrast_700, t.atoms.text_contrast_medium,
]}> ]}>
<Trans> <Trans>
Operated by{' '} Operated by{' '}
@@ -239,7 +239,7 @@ export function ProfileModserviceScreenInner({
{isLiked ? ( {isLiked ? (
<HeartFilled fill={t.palette.negative_400} /> <HeartFilled fill={t.palette.negative_400} />
) : ( ) : (
<Heart fill={t.atoms.text_contrast_700.color} /> <Heart fill={t.atoms.text_contrast_medium.color} />
)} )}
</Button> </Button>