|
@@ -49,7 +49,6 @@ final class DashboardView: NSView, NSTextFieldDelegate {
|
|
49
|
static let settingsGroupBackground = NSColor(srgbRed: 1, green: 1, blue: 1, alpha: 1)
|
49
|
static let settingsGroupBackground = NSColor(srgbRed: 1, green: 1, blue: 1, alpha: 1)
|
|
50
|
static let settingsIconBackground = NSColor(srgbRed: 239 / 255, green: 244 / 255, blue: 252 / 255, alpha: 1)
|
50
|
static let settingsIconBackground = NSColor(srgbRed: 239 / 255, green: 244 / 255, blue: 252 / 255, alpha: 1)
|
|
51
|
static let settingsDivider = NSColor(srgbRed: 228 / 255, green: 228 / 255, blue: 228 / 255, alpha: 1)
|
51
|
static let settingsDivider = NSColor(srgbRed: 228 / 255, green: 228 / 255, blue: 228 / 255, alpha: 1)
|
|
52
|
- static let settingsPrimaryText = NSColor(srgbRed: 45 / 255, green: 45 / 255, blue: 45 / 255, alpha: 1)
|
|
|
|
53
|
}
|
52
|
}
|
|
54
|
|
53
|
|
|
55
|
/// Multiline `NSTextField` often ignores `alignment` for wrapped runs; explicit paragraph alignment matches the title.
|
54
|
/// Multiline `NSTextField` often ignores `alignment` for wrapped runs; explicit paragraph alignment matches the title.
|
|
@@ -908,8 +907,8 @@ final class DashboardView: NSView, NSTextFieldDelegate {
|
|
908
|
])
|
907
|
])
|
|
909
|
|
908
|
|
|
910
|
let aboutTitle = NSTextField(labelWithString: "About")
|
909
|
let aboutTitle = NSTextField(labelWithString: "About")
|
|
911
|
- aboutTitle.font = .systemFont(ofSize: 15, weight: .bold)
|
|
|
|
912
|
- aboutTitle.textColor = Theme.settingsPrimaryText
|
|
|
|
|
|
910
|
+ aboutTitle.font = .systemFont(ofSize: 12, weight: .semibold)
|
|
|
|
911
|
+ aboutTitle.textColor = Theme.secondaryText
|
|
913
|
aboutTitle.alignment = .left
|
912
|
aboutTitle.alignment = .left
|
|
914
|
|
913
|
|
|
915
|
let aboutSection = makeSettingsSection(rows: [
|
914
|
let aboutSection = makeSettingsSection(rows: [
|
|
@@ -999,13 +998,13 @@ final class DashboardView: NSView, NSTextFieldDelegate {
|
|
999
|
|
998
|
|
|
1000
|
let icon = NSImageView()
|
999
|
let icon = NSImageView()
|
|
1001
|
icon.translatesAutoresizingMaskIntoConstraints = false
|
1000
|
icon.translatesAutoresizingMaskIntoConstraints = false
|
|
1002
|
- icon.symbolConfiguration = NSImage.SymbolConfiguration(pointSize: 15, weight: .medium)
|
|
|
|
|
|
1001
|
+ icon.symbolConfiguration = NSImage.SymbolConfiguration(pointSize: 13, weight: .medium)
|
|
1003
|
icon.image = NSImage(systemSymbolName: systemImage, accessibilityDescription: title)
|
1002
|
icon.image = NSImage(systemSymbolName: systemImage, accessibilityDescription: title)
|
|
1004
|
icon.contentTintColor = Theme.brandBlue
|
1003
|
icon.contentTintColor = Theme.brandBlue
|
|
1005
|
|
1004
|
|
|
1006
|
let titleLabel = NSTextField(labelWithString: title)
|
1005
|
let titleLabel = NSTextField(labelWithString: title)
|
|
1007
|
- titleLabel.font = .systemFont(ofSize: 17, weight: .semibold)
|
|
|
|
1008
|
- titleLabel.textColor = Theme.settingsPrimaryText
|
|
|
|
|
|
1006
|
+ titleLabel.font = .systemFont(ofSize: 14, weight: .medium)
|
|
|
|
1007
|
+ titleLabel.textColor = Theme.secondaryText
|
|
1009
|
titleLabel.alignment = .left
|
1008
|
titleLabel.alignment = .left
|
|
1010
|
|
1009
|
|
|
1011
|
let rowStack = NSStackView()
|
1010
|
let rowStack = NSStackView()
|