Tweak greens (#9177)

* tweak greens

* undo test code
This commit is contained in:
Samuel Newman
2025-10-10 19:15:48 +03:00
committed by GitHub
parent ec8c36e614
commit 6cd6a3447d
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ function AccountItem({
</View> </View>
{isCurrentAccount ? ( {isCurrentAccount ? (
<Check size="sm" style={[{color: t.palette.positive_600}]} /> <Check size="sm" style={[{color: t.palette.positive_500}]} />
) : ( ) : (
<Chevron size="sm" style={[t.atoms.text]} /> <Chevron size="sm" style={[t.atoms.text]} />
)} )}
+1 -1
View File
@@ -57,7 +57,7 @@ let RepostButton = ({
<PostControlButton <PostControlButton
testID="repostBtn" testID="repostBtn"
active={isReposted} active={isReposted}
activeColor={t.palette.positive_600} activeColor={t.palette.positive_500}
big={big} big={big}
onPress={onPress} onPress={onPress}
onLongPress={onLongPress} onLongPress={onLongPress}
@@ -47,7 +47,7 @@ export const RepostButton = ({
<PostControlButton <PostControlButton
testID="repostBtn" testID="repostBtn"
active={isReposted} active={isReposted}
activeColor={t.palette.positive_600} activeColor={t.palette.positive_500}
label={props.accessibilityLabel} label={props.accessibilityLabel}
big={big} big={big}
{...props}> {...props}>
@@ -100,7 +100,7 @@ export const RepostButton = ({
<PostControlButton <PostControlButton
onPress={() => requireAuth(() => {})} onPress={() => requireAuth(() => {})}
active={isReposted} active={isReposted}
activeColor={t.palette.positive_600} activeColor={t.palette.positive_500}
label={_(msg`Repost or quote post`)} label={_(msg`Repost or quote post`)}
big={big}> big={big}>
<PostControlButtonIcon icon={Repost} /> <PostControlButtonIcon icon={Repost} />
@@ -159,7 +159,7 @@ export function Inner({}: {optimisticState?: AgeAssuranceRedirectDialogState}) {
a.pt_lg, a.pt_lg,
a.pb_md, a.pb_md,
]}> ]}>
<SuccessIcon size="sm" fill={t.palette.positive_600} /> <SuccessIcon size="sm" fill={t.palette.positive_500} />
<Text style={[a.text_xl, a.font_bold]}> <Text style={[a.text_xl, a.font_bold]}>
<Trans>Success</Trans> <Trans>Success</Trans>
</Text> </Text>
@@ -281,7 +281,7 @@ export function Update(_props: ScreenProps<ScreenID.Update>) {
<Divider /> <Divider />
<View style={[a.gap_sm]}> <View style={[a.gap_sm]}>
<View style={[a.flex_row, a.gap_sm, a.align_center]}> <View style={[a.flex_row, a.gap_sm, a.align_center]}>
<Check fill={t.palette.positive_600} size="xs" /> <Check fill={t.palette.positive_500} size="xs" />
<Text style={[a.text_md, a.font_bold]}> <Text style={[a.text_md, a.font_bold]}>
<Trans>Success!</Trans> <Trans>Success!</Trans>
</Text> </Text>
@@ -176,7 +176,7 @@ export function Verify({config, showScreen}: ScreenProps<ScreenID.Verify>) {
<View style={[a.gap_sm]}> <View style={[a.gap_sm]}>
<Text style={[a.text_xl, a.font_bold]}> <Text style={[a.text_xl, a.font_bold]}>
<Span style={{top: 1}}> <Span style={{top: 1}}>
<Check size="sm" fill={t.palette.positive_600} /> <Check size="sm" fill={t.palette.positive_500} />
</Span> </Span>
{' '} {' '}
<Trans>Email verification complete!</Trans> <Trans>Email verification complete!</Trans>
@@ -202,7 +202,7 @@ export function Verify({config, showScreen}: ScreenProps<ScreenID.Verify>) {
state.mutationStatus === 'success' ? ( state.mutationStatus === 'success' ? (
<> <>
<Span style={{top: 1}}> <Span style={{top: 1}}>
<Check size="sm" fill={t.palette.positive_600} /> <Check size="sm" fill={t.palette.positive_500} />
</Span> </Span>
{' '} {' '}
<Trans>Email sent!</Trans> <Trans>Email sent!</Trans>
@@ -194,7 +194,7 @@ function TrendingIndicator({type}: {type: TrendingIndicatorType | 'skeleton'}) {
case 'new': { case 'new': {
Icon = TrendingIcon Icon = TrendingIcon
text = _(msg`New`) text = _(msg`New`)
color = t.palette.positive_700 color = t.palette.positive_600
backgroundColor = t.palette.positive_50 backgroundColor = t.palette.positive_50
break break
} }
@@ -636,7 +636,7 @@ function SuccessMessage({text}: {text: string}) {
a.rounded_full, a.rounded_full,
a.align_center, a.align_center,
a.justify_center, a.justify_center,
{backgroundColor: t.palette.positive_600}, {backgroundColor: t.palette.positive_500},
]}> ]}>
<CheckIcon fill={t.palette.white} size="xs" /> <CheckIcon fill={t.palette.white} size="xs" />
</View> </View>
+1 -1
View File
@@ -169,7 +169,7 @@ export function StepHandle() {
{isHandleAvailable?.available && ( {isHandleAvailable?.available && (
<CheckIcon <CheckIcon
testID="handleAvailableCheck" testID="handleAvailableCheck"
style={[{color: t.palette.positive_600}, a.z_20]} style={[{color: t.palette.positive_500}, a.z_20]}
/> />
)} )}
</TextField.Root> </TextField.Root>
@@ -307,7 +307,7 @@ let NotificationFeedItem = ({
) : ( ) : (
<Trans>{firstAuthorLink} reposted your post</Trans> <Trans>{firstAuthorLink} reposted your post</Trans>
) )
icon = <RepostIcon size="xl" style={{color: t.palette.positive_600}} /> icon = <RepostIcon size="xl" style={{color: t.palette.positive_500}} />
} else if (item.type === 'follow') { } else if (item.type === 'follow') {
let isFollowBack = false let isFollowBack = false
@@ -519,7 +519,7 @@ let NotificationFeedItem = ({
) : ( ) : (
<Trans>{firstAuthorLink} reposted your repost</Trans> <Trans>{firstAuthorLink} reposted your repost</Trans>
) )
icon = <RepostIcon size="xl" style={{color: t.palette.positive_600}} /> icon = <RepostIcon size="xl" style={{color: t.palette.positive_500}} />
} else if (item.type === 'subscribed-post') { } else if (item.type === 'subscribed-post') {
const postsCount = 1 + (item.additional?.length || 0) const postsCount = 1 + (item.additional?.length || 0)
a11yLabel = hasMultipleAuthors a11yLabel = hasMultipleAuthors