Live example ยท flip the mode
Figma
color/status/inProgress
Swift
static let inProgress = Color(UIColor { traits in traits.userInterfaceStyle == .dark ? UIColor(...) // #F5A55E : UIColor(...) // #F28C40 }) // resolving now: #F28C40