|
|
@@ -65,7 +65,7 @@ private extension ViewController {
|
|
65
|
65
|
sidebar.layer?.borderColor = palette.separator.cgColor
|
|
66
|
66
|
sidebar.layer?.borderWidth = 1
|
|
67
|
67
|
sidebar.layer?.shadowColor = NSColor.black.cgColor
|
|
68
|
|
- sidebar.layer?.shadowOpacity = 0.25
|
|
|
68
|
+ sidebar.layer?.shadowOpacity = 0.18
|
|
69
|
69
|
sidebar.layer?.shadowOffset = CGSize(width: 2, height: 0)
|
|
70
|
70
|
sidebar.layer?.shadowRadius = 10
|
|
71
|
71
|
sidebar.widthAnchor.constraint(equalToConstant: 210).isActive = true
|
|
|
@@ -340,7 +340,7 @@ private extension ViewController {
|
|
340
|
340
|
view.layer?.borderWidth = borderWidth
|
|
341
|
341
|
if shadow {
|
|
342
|
342
|
view.layer?.shadowColor = NSColor.black.cgColor
|
|
343
|
|
- view.layer?.shadowOpacity = 0.28
|
|
|
343
|
+ view.layer?.shadowOpacity = 0.22
|
|
344
|
344
|
view.layer?.shadowOffset = CGSize(width: 0, height: -2)
|
|
345
|
345
|
view.layer?.shadowRadius = 8
|
|
346
|
346
|
}
|
|
|
@@ -469,24 +469,24 @@ private extension ViewController {
|
|
469
|
469
|
}
|
|
470
|
470
|
|
|
471
|
471
|
private struct Palette {
|
|
472
|
|
- let pageBackground = NSColor(calibratedRed: 23.0 / 255.0, green: 24.0 / 255.0, blue: 24.0 / 255.0, alpha: 1)
|
|
473
|
|
- let sidebarBackground = NSColor(calibratedRed: 32.0 / 255.0, green: 33.0 / 255.0, blue: 35.0 / 255.0, alpha: 1)
|
|
474
|
|
- let sectionCard = NSColor(calibratedRed: 32.0 / 255.0, green: 33.0 / 255.0, blue: 35.0 / 255.0, alpha: 1)
|
|
475
|
|
- let tabBarBackground = NSColor(calibratedRed: 32.0 / 255.0, green: 33.0 / 255.0, blue: 35.0 / 255.0, alpha: 1)
|
|
476
|
|
- let tabIdleBackground = NSColor(calibratedRed: 32.0 / 255.0, green: 33.0 / 255.0, blue: 35.0 / 255.0, alpha: 1)
|
|
477
|
|
- let inputBackground = NSColor(calibratedRed: 32.0 / 255.0, green: 33.0 / 255.0, blue: 35.0 / 255.0, alpha: 1)
|
|
478
|
|
- let inputBorder = NSColor(calibratedRed: 0.14, green: 0.16, blue: 0.21, alpha: 1)
|
|
|
472
|
+ let pageBackground = NSColor(calibratedRed: 10.0 / 255.0, green: 11.0 / 255.0, blue: 12.0 / 255.0, alpha: 1)
|
|
|
473
|
+ let sidebarBackground = NSColor(calibratedRed: 16.0 / 255.0, green: 17.0 / 255.0, blue: 19.0 / 255.0, alpha: 1)
|
|
|
474
|
+ let sectionCard = NSColor(calibratedRed: 22.0 / 255.0, green: 23.0 / 255.0, blue: 26.0 / 255.0, alpha: 1)
|
|
|
475
|
+ let tabBarBackground = NSColor(calibratedRed: 22.0 / 255.0, green: 23.0 / 255.0, blue: 26.0 / 255.0, alpha: 1)
|
|
|
476
|
+ let tabIdleBackground = NSColor(calibratedRed: 22.0 / 255.0, green: 23.0 / 255.0, blue: 26.0 / 255.0, alpha: 1)
|
|
|
477
|
+ let inputBackground = NSColor(calibratedRed: 20.0 / 255.0, green: 21.0 / 255.0, blue: 24.0 / 255.0, alpha: 1)
|
|
|
478
|
+ let inputBorder = NSColor(calibratedRed: 38.0 / 255.0, green: 40.0 / 255.0, blue: 44.0 / 255.0, alpha: 1)
|
|
479
|
479
|
let primaryBlue = NSColor(calibratedRed: 27.0 / 255.0, green: 115.0 / 255.0, blue: 232.0 / 255.0, alpha: 1)
|
|
480
|
|
- let primaryBlueBorder = NSColor(calibratedRed: 58.0 / 255.0, green: 139.0 / 255.0, blue: 246.0 / 255.0, alpha: 1)
|
|
481
|
|
- let sidebarItemSelectedBackground = NSColor(calibratedRed: 27.0 / 255.0, green: 115.0 / 255.0, blue: 232.0 / 255.0, alpha: 0.28)
|
|
482
|
|
- let sidebarItemSelectedBorder = NSColor(calibratedRed: 81.0 / 255.0, green: 152.0 / 255.0, blue: 249.0 / 255.0, alpha: 0.7)
|
|
483
|
|
- let cancelButton = NSColor(calibratedRed: 32.0 / 255.0, green: 33.0 / 255.0, blue: 35.0 / 255.0, alpha: 1)
|
|
484
|
|
- let meetingBadge = NSColor(calibratedRed: 0.94, green: 0.73, blue: 0.19, alpha: 1)
|
|
485
|
|
- let separator = NSColor(calibratedWhite: 0.10, alpha: 1)
|
|
486
|
|
- let textPrimary = NSColor(calibratedWhite: 0.96, alpha: 1)
|
|
487
|
|
- let textSecondary = NSColor(calibratedWhite: 0.82, alpha: 1)
|
|
488
|
|
- let textTertiary = NSColor(calibratedWhite: 0.74, alpha: 1)
|
|
489
|
|
- let textMuted = NSColor(calibratedWhite: 0.50, alpha: 1)
|
|
|
480
|
+ let primaryBlueBorder = NSColor(calibratedRed: 42.0 / 255.0, green: 118.0 / 255.0, blue: 220.0 / 255.0, alpha: 1)
|
|
|
481
|
+ let sidebarItemSelectedBackground = NSColor(calibratedRed: 27.0 / 255.0, green: 115.0 / 255.0, blue: 232.0 / 255.0, alpha: 0.22)
|
|
|
482
|
+ let sidebarItemSelectedBorder = NSColor(calibratedRed: 55.0 / 255.0, green: 125.0 / 255.0, blue: 215.0 / 255.0, alpha: 0.55)
|
|
|
483
|
+ let cancelButton = NSColor(calibratedRed: 20.0 / 255.0, green: 21.0 / 255.0, blue: 24.0 / 255.0, alpha: 1)
|
|
|
484
|
+ let meetingBadge = NSColor(calibratedRed: 0.88, green: 0.66, blue: 0.14, alpha: 1)
|
|
|
485
|
+ let separator = NSColor(calibratedRed: 26.0 / 255.0, green: 27.0 / 255.0, blue: 30.0 / 255.0, alpha: 1)
|
|
|
486
|
+ let textPrimary = NSColor(calibratedWhite: 0.98, alpha: 1)
|
|
|
487
|
+ let textSecondary = NSColor(calibratedWhite: 0.78, alpha: 1)
|
|
|
488
|
+ let textTertiary = NSColor(calibratedWhite: 0.66, alpha: 1)
|
|
|
489
|
+ let textMuted = NSColor(calibratedWhite: 0.44, alpha: 1)
|
|
490
|
490
|
}
|
|
491
|
491
|
|
|
492
|
492
|
private struct Typography {
|