Fixes #3867 - Change bage label colors to blue when not highlighted

- bumps compound to get new semantic tokens
- updates related snapshots
- the composer updates have already been handled separately
This commit is contained in:
Stefan Ceriu
2025-03-10 09:46:46 +02:00
parent 56fef88bf8
commit 6fca775f69
45 changed files with 95 additions and 104 deletions
@@ -26,15 +26,15 @@ private struct BadgeLabelStyle: LabelStyle {
let isHighlighted: Bool
var titleColor: Color {
isHighlighted ? .compound._badgeTextSuccess : .compound._badgeTextSubtle
isHighlighted ? .compound.textBadgeAccent : .compound.textBadgeInfo
}
var iconColor: Color {
isHighlighted ? .compound.iconSuccessPrimary : .compound.iconSecondary
isHighlighted ? .compound.iconSuccessPrimary : .compound.iconInfoPrimary
}
var backgroundColor: Color {
isHighlighted ? .compound._bgBadgeSuccess : .compound.bgSubtlePrimary
isHighlighted ? .compound.bgBadgeAccent : .compound.bgBadgeInfo
}
func makeBody(configuration: Configuration) -> some View {