diff --git a/src/logic/Appearance.swift b/src/logic/Appearance.swift index bb43e0b8..ae406dc0 100644 --- a/src/logic/Appearance.swift +++ b/src/logic/Appearance.swift @@ -28,11 +28,10 @@ class Appearance { // theme: constants static let enablePanelShadow = true - static let highlightFocusedBackgroundColor = NSColor.systemAccentColor.withAlphaComponent(0.2) - static let highlightHoveredBackgroundColor = NSColor.systemAccentColor.withAlphaComponent(0.1) - static let highlightFocusedBorderColor = NSColor.systemAccentColor - static let highlightHoveredBorderColor = NSColor.systemAccentColor.withAlphaComponent(0.7) - + static var highlightFocusedBackgroundColor: NSColor { get { NSColor.systemAccentColor.withAlphaComponent(0.2) } } + static var highlightHoveredBackgroundColor: NSColor { get { NSColor.systemAccentColor.withAlphaComponent(0.1) } } + static var highlightFocusedBorderColor: NSColor { get { NSColor.systemAccentColor } } + static var highlightHoveredBorderColor: NSColor { get { NSColor.systemAccentColor.withAlphaComponent(0.7) } } // derived static var font: NSFont {