|
|
@@ -144,14 +144,14 @@ private final class SettingsPanelView: NSView, AppearanceRefreshable {
|
|
|
super.init(frame: .zero)
|
|
|
wantsLayer = true
|
|
|
layer?.cornerRadius = 22
|
|
|
- layer?.borderWidth = 1
|
|
|
+ layer?.borderWidth = 1.5
|
|
|
applyCardShadow()
|
|
|
refreshAppearance()
|
|
|
}
|
|
|
|
|
|
func refreshAppearance() {
|
|
|
layer?.backgroundColor = AppTheme.cardBackground.cgColor
|
|
|
- layer?.borderColor = AppTheme.border.cgColor
|
|
|
+ layer?.borderColor = AppTheme.paywallBorder.cgColor
|
|
|
}
|
|
|
|
|
|
@available(*, unavailable)
|
|
|
@@ -166,7 +166,8 @@ private final class SettingsGroupCard: NSView, AppearanceRefreshable {
|
|
|
translatesAutoresizingMaskIntoConstraints = false
|
|
|
wantsLayer = true
|
|
|
layer?.cornerRadius = 16
|
|
|
- layer?.borderWidth = 1
|
|
|
+ layer?.borderWidth = 1.5
|
|
|
+ layer?.masksToBounds = true
|
|
|
refreshAppearance()
|
|
|
|
|
|
stack.orientation = .vertical
|
|
|
@@ -192,7 +193,7 @@ private final class SettingsGroupCard: NSView, AppearanceRefreshable {
|
|
|
|
|
|
func refreshAppearance() {
|
|
|
layer?.backgroundColor = AppTheme.groupCardBackground.cgColor
|
|
|
- layer?.borderColor = AppTheme.border.cgColor
|
|
|
+ layer?.borderColor = AppTheme.paywallBorder.cgColor
|
|
|
}
|
|
|
}
|
|
|
|