mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added options to select colors in the CPU popup (#565)
This commit is contained in:
@@ -126,7 +126,7 @@ extension Color: CaseIterable {
|
||||
|
||||
public static var separator1: Color { return Color(key: "separator_1", value: "separator_1", additional: NSColor.black) }
|
||||
|
||||
public static var systemAccent: Color { return Color(key: "system", value: "System accent", additional: NSColor.black) }
|
||||
public static var systemAccent: Color { return Color(key: "system", value: "System accent", additional: controlAccentColor) }
|
||||
public static var monochrome: Color { return Color(key: "monochrome", value: "Monochrome accent", additional: NSColor.textColor) }
|
||||
|
||||
public static var separator2: Color { return Color(key: "separator_2", value: "separator_2", additional: NSColor.black) }
|
||||
@@ -173,7 +173,7 @@ extension Color: CaseIterable {
|
||||
}
|
||||
|
||||
public static var allColors: [Color] {
|
||||
return [.clear, .white, .black, .gray, .secondGray, .darkGray, .lightGray,
|
||||
return [.systemAccent, .monochrome, .separator2, .clear, .white, .black, .gray, .secondGray, .darkGray, .lightGray,
|
||||
.red, .secondRed, .green, .secondGreen, .blue, .secondBlue, .yellow, .secondYellow,
|
||||
.orange, .secondOrange, .purple, .secondPurple, .brown, .secondBrown,
|
||||
.cyan, .magenta, .pink, .teal, .indigo
|
||||
|
||||
Reference in New Issue
Block a user