mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:02:10 +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:
@@ -41,7 +41,7 @@ private extension FormatItem {
|
||||
var foregroundColor: Color {
|
||||
switch state {
|
||||
case .reversed:
|
||||
return .compound.iconSuccessPrimary
|
||||
return .compound.iconAccentPrimary
|
||||
case .enabled:
|
||||
return .compound.iconSecondary
|
||||
case .disabled:
|
||||
@@ -52,7 +52,7 @@ private extension FormatItem {
|
||||
var backgroundColor: Color {
|
||||
switch state {
|
||||
case .reversed:
|
||||
return .compound._bgAccentSelected
|
||||
return .compound.bgAccentSelected
|
||||
case .enabled, .disabled:
|
||||
return .compound.bgCanvasDefault
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user