Update some icons to use the primary accent color instead of tertiary for accessibility reasons.

This commit is contained in:
Stefan Ceriu
2026-09-28 16:17:42 +03:00
parent 0de6231399
commit ec4d1a3c04
40 changed files with 76 additions and 76 deletions
@@ -147,7 +147,7 @@ struct HomeScreenInviteCell: View {
if room.badges.isDotShown {
Circle()
.scaledFrame(size: 12)
.foregroundColor(.compound.iconAccentTertiary) // The badge is always green, no need to check isHighlighted here.
.foregroundColor(.compound.iconAccentPrimary) // The badge is always green, no need to check isHighlighted here.
}
}
}
@@ -152,7 +152,7 @@ struct HomeScreenRoomCell: View {
.lineLimit(1)
.padding(.horizontal, 6)
.frame(minWidth: 20, minHeight: 20)
.background(.compound.iconAccentTertiary, in: .capsule)
.background(.compound.iconAccentPrimary, in: .capsule)
.accessibilityLabel(L10n.a11yNotificationsNewMessages)
} else {
Circle()
@@ -161,7 +161,7 @@ struct HomeScreenRoomCell: View {
}
}
}
.foregroundColor(room.isHighlighted ? .compound.iconAccentTertiary : .compound.iconQuaternary)
.foregroundColor(room.isHighlighted ? .compound.iconAccentPrimary : .compound.iconQuaternary)
}
}
@@ -35,7 +35,7 @@ struct PollOptionView: View {
if isFinalWinningOption {
HStack(spacing: 4) {
CompoundIcon(asset: Asset.Images.pollWinner)
.foregroundColor(.compound.iconAccentTertiary)
.foregroundColor(.compound.iconAccentPrimary)
.accessibilityLabel(L10n.a11yPollsWinningAnswer)
Text(L10n.commonPollVotesCount(pollOption.votes))