mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update and enable the new bloom style on the home screen. (#4291)
* Update Compound * Adopt the new accent colour (and gradient) tokens.
This commit is contained in:
@@ -15,11 +15,11 @@ struct PillView: View {
|
||||
let didChangeText: () -> Void
|
||||
|
||||
var textColor: Color {
|
||||
context.viewState.isOwnMention ? .compound._textOwnPill : .compound.textPrimary
|
||||
context.viewState.isOwnMention ? .compound.textBadgeAccent : .compound.textPrimary
|
||||
}
|
||||
|
||||
var backgroundColor: Color {
|
||||
context.viewState.isOwnMention ? .compound._bgOwnPill : .compound._bgPill
|
||||
context.viewState.isOwnMention ? .compound.bgBadgeAccent : .compound.bgBadgeDefault
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
||||
Reference in New Issue
Block a user