|
@@ -29,7 +29,12 @@ class KMNoteFilterStateCollevtionViewItem: NSCollectionViewItem {
|
|
|
didSet {
|
|
|
if (self.isSelected) {
|
|
|
// self.label.layer?.backgroundColor = KMAppearance.Interactive.a0Color().cgColor
|
|
|
- self.box.fillColor = KMAppearance.Interactive.a0Color()
|
|
|
+// self.box.fillColor = KMAppearance.Interactive.a0Color()
|
|
|
+ if KMAppearance.isDarkMode() {
|
|
|
+ self.box.fillColor = NSColor(hex: "227AFF").withAlphaComponent(0.3)
|
|
|
+ } else {
|
|
|
+ self.box.fillColor = NSColor(hex: "#4178E2")
|
|
|
+ }
|
|
|
self.label.textColor = KMAppearance.Layout.w0Color()
|
|
|
} else {
|
|
|
// self.label.layer?.backgroundColor = KMAppearance.Else.textTagColor().cgColor
|