mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user