Adopt custom blue accent across active UI states
This commit is contained in:
parent
2338760186
commit
aeda5f827d
7 changed files with 53 additions and 33 deletions
|
|
@ -132,7 +132,7 @@ class UpdateViewModel: ObservableObject {
|
|||
case .checking:
|
||||
return .secondary
|
||||
case .updateAvailable:
|
||||
return .accentColor
|
||||
return cmuxAccentColor()
|
||||
case .downloading, .extracting, .installing:
|
||||
return .secondary
|
||||
case .notFound:
|
||||
|
|
@ -147,7 +147,7 @@ class UpdateViewModel: ObservableObject {
|
|||
case .permissionRequest:
|
||||
return Color(nsColor: NSColor.systemBlue.blended(withFraction: 0.3, of: .black) ?? .systemBlue)
|
||||
case .updateAvailable:
|
||||
return .accentColor
|
||||
return cmuxAccentColor()
|
||||
case .notFound:
|
||||
return Color(nsColor: NSColor.systemBlue.blended(withFraction: 0.5, of: .black) ?? .systemBlue)
|
||||
case .error:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue