mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Adjust the PillView and BadgeLabel to the new compound styles
This commit is contained in:
@@ -15,11 +15,11 @@ struct PillView: View {
|
||||
let didChangeText: () -> Void
|
||||
|
||||
var textColor: Color {
|
||||
context.viewState.isOwnMention ? .compound.textBadgeAccent : .compound.textPrimary
|
||||
context.viewState.isOwnMention ? .compound.textBadgeAccent : .compound.textOnSolidPrimary
|
||||
}
|
||||
|
||||
var backgroundColor: Color {
|
||||
context.viewState.isOwnMention ? .compound.bgBadgeAccent : .compound.bgBadgeDefault
|
||||
context.viewState.isOwnMention ? .compound.bgBadgeAccent : .compound.bgBadgePrimary
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
||||
Reference in New Issue
Block a user