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>
{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]} />
)}
+1 -1
View File
@@ -57,7 +57,7 @@ let RepostButton = ({
<PostControlButton
testID="repostBtn"
active={isReposted}
activeColor={t.palette.positive_600}
activeColor={t.palette.positive_500}
big={big}
onPress={onPress}
onLongPress={onLongPress}
@@ -47,7 +47,7 @@ export const RepostButton = ({
<PostControlButton
testID="repostBtn"
active={isReposted}
activeColor={t.palette.positive_600}
activeColor={t.palette.positive_500}
label={props.accessibilityLabel}
big={big}
{...props}>
@@ -100,7 +100,7 @@ export const RepostButton = ({
<PostControlButton
onPress={() => requireAuth(() => {})}
active={isReposted}
activeColor={t.palette.positive_600}
activeColor={t.palette.positive_500}
label={_(msg`Repost or quote post`)}
big={big}>
<PostControlButtonIcon icon={Repost} />
@@ -159,7 +159,7 @@ export function Inner({}: {optimisticState?: AgeAssuranceRedirectDialogState}) {
a.pt_lg,
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]}>
<Trans>Success</Trans>
</Text>
@@ -281,7 +281,7 @@ export function Update(_props: ScreenProps<ScreenID.Update>) {
<Divider />
<View style={[a.gap_sm]}>
<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]}>
<Trans>Success!</Trans>
</Text>
@@ -176,7 +176,7 @@ export function Verify({config, showScreen}: ScreenProps<ScreenID.Verify>) {
<View style={[a.gap_sm]}>
<Text style={[a.text_xl, a.font_bold]}>
<Span style={{top: 1}}>
<Check size="sm" fill={t.palette.positive_600} />
<Check size="sm" fill={t.palette.positive_500} />
</Span>
{' '}
<Trans>Email verification complete!</Trans>
@@ -202,7 +202,7 @@ export function Verify({config, showScreen}: ScreenProps<ScreenID.Verify>) {
state.mutationStatus === 'success' ? (
<>
<Span style={{top: 1}}>
<Check size="sm" fill={t.palette.positive_600} />
<Check size="sm" fill={t.palette.positive_500} />
</Span>
{' '}
<Trans>Email sent!</Trans>
@@ -194,7 +194,7 @@ function TrendingIndicator({type}: {type: TrendingIndicatorType | 'skeleton'}) {
case 'new': {
Icon = TrendingIcon
text = _(msg`New`)
color = t.palette.positive_700
color = t.palette.positive_600
backgroundColor = t.palette.positive_50
break
}
@@ -636,7 +636,7 @@ function SuccessMessage({text}: {text: string}) {
a.rounded_full,
a.align_center,
a.justify_center,
{backgroundColor: t.palette.positive_600},
{backgroundColor: t.palette.positive_500},
]}>
<CheckIcon fill={t.palette.white} size="xs" />
</View>
+1 -1
View File
@@ -169,7 +169,7 @@ export function StepHandle() {
{isHandleAvailable?.available && (
<CheckIcon
testID="handleAvailableCheck"
style={[{color: t.palette.positive_600}, a.z_20]}
style={[{color: t.palette.positive_500}, a.z_20]}
/>
)}
</TextField.Root>
@@ -307,7 +307,7 @@ let NotificationFeedItem = ({
) : (
<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') {
let isFollowBack = false
@@ -519,7 +519,7 @@ let NotificationFeedItem = ({
) : (
<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') {
const postsCount = 1 + (item.additional?.length || 0)
a11yLabel = hasMultipleAuthors