|
|
@@ -43,7 +43,8 @@ class ViewController: NSViewController {
|
|
43
|
43
|
var secondaryCardBackground: NSColor {
|
|
44
|
44
|
isDarkMode
|
|
45
|
45
|
? NSColor(calibratedRed: 22 / 255, green: 23 / 255, blue: 26 / 255, alpha: 1)
|
|
46
|
|
- : NSColor(calibratedWhite: 0.98, alpha: 1)
|
|
|
46
|
+ // Slightly darker than pure white so cards are visible on Light background.
|
|
|
47
|
+ : NSColor(calibratedWhite: 0.93, alpha: 1)
|
|
47
|
48
|
}
|
|
48
|
49
|
var appShellBackground: NSColor { appBackground }
|
|
49
|
50
|
var contentShellBackground: NSColor { appBackground }
|
|
|
@@ -2303,7 +2304,7 @@ class ViewController: NSViewController {
|
|
2303
|
2304
|
panel.layer?.backgroundColor = secondaryCardBackground.withAlphaComponent(0.94).cgColor
|
|
2304
|
2305
|
panel.layer?.cornerRadius = 16
|
|
2305
|
2306
|
panel.layer?.borderWidth = 1
|
|
2306
|
|
- panel.layer?.borderColor = NSColor.white.withAlphaComponent(0.07).cgColor
|
|
|
2307
|
+ panel.layer?.borderColor = palette.inputBorder.cgColor
|
|
2307
|
2308
|
|
|
2308
|
2309
|
let todaysDateFormatter = DateFormatter()
|
|
2309
|
2310
|
todaysDateFormatter.dateFormat = "EEEE, MMM d"
|
|
|
@@ -2348,10 +2349,13 @@ class ViewController: NSViewController {
|
|
2348
|
2349
|
refreshMeetingsButton.imageScaling = .scaleNone
|
|
2349
|
2350
|
}
|
|
2350
|
2351
|
refreshMeetingsButton.wantsLayer = true
|
|
2351
|
|
- refreshMeetingsButton.layer?.backgroundColor = NSColor(calibratedRed: 36 / 255, green: 39 / 255, blue: 46 / 255, alpha: 1).cgColor
|
|
|
2352
|
+ refreshMeetingsButton.layer?.backgroundColor = (palette.isDarkMode
|
|
|
2353
|
+ ? NSColor(calibratedRed: 36 / 255, green: 39 / 255, blue: 46 / 255, alpha: 1)
|
|
|
2354
|
+ : NSColor.black.withAlphaComponent(0.06)
|
|
|
2355
|
+ ).cgColor
|
|
2352
|
2356
|
refreshMeetingsButton.layer?.cornerRadius = 11
|
|
2353
|
2357
|
refreshMeetingsButton.layer?.borderWidth = 1
|
|
2354
|
|
- refreshMeetingsButton.layer?.borderColor = NSColor.white.withAlphaComponent(0.07).cgColor
|
|
|
2358
|
+ refreshMeetingsButton.layer?.borderColor = palette.inputBorder.cgColor
|
|
2355
|
2359
|
self.refreshMeetingsButton = refreshMeetingsButton
|
|
2356
|
2360
|
|
|
2357
|
2361
|
let placeholder = makeLabel("Coming soon", size: 22, color: secondaryText, weight: .semibold, centered: true)
|