|
|
@@ -144,14 +144,14 @@ private final class SettingsPanelView: NSView, AppearanceRefreshable {
|
|
144
|
144
|
super.init(frame: .zero)
|
|
145
|
145
|
wantsLayer = true
|
|
146
|
146
|
layer?.cornerRadius = 22
|
|
147
|
|
- layer?.borderWidth = 1
|
|
|
147
|
+ layer?.borderWidth = 1.5
|
|
148
|
148
|
applyCardShadow()
|
|
149
|
149
|
refreshAppearance()
|
|
150
|
150
|
}
|
|
151
|
151
|
|
|
152
|
152
|
func refreshAppearance() {
|
|
153
|
153
|
layer?.backgroundColor = AppTheme.cardBackground.cgColor
|
|
154
|
|
- layer?.borderColor = AppTheme.border.cgColor
|
|
|
154
|
+ layer?.borderColor = AppTheme.paywallBorder.cgColor
|
|
155
|
155
|
}
|
|
156
|
156
|
|
|
157
|
157
|
@available(*, unavailable)
|
|
|
@@ -166,7 +166,8 @@ private final class SettingsGroupCard: NSView, AppearanceRefreshable {
|
|
166
|
166
|
translatesAutoresizingMaskIntoConstraints = false
|
|
167
|
167
|
wantsLayer = true
|
|
168
|
168
|
layer?.cornerRadius = 16
|
|
169
|
|
- layer?.borderWidth = 1
|
|
|
169
|
+ layer?.borderWidth = 1.5
|
|
|
170
|
+ layer?.masksToBounds = true
|
|
170
|
171
|
refreshAppearance()
|
|
171
|
172
|
|
|
172
|
173
|
stack.orientation = .vertical
|
|
|
@@ -192,7 +193,7 @@ private final class SettingsGroupCard: NSView, AppearanceRefreshable {
|
|
192
|
193
|
|
|
193
|
194
|
func refreshAppearance() {
|
|
194
|
195
|
layer?.backgroundColor = AppTheme.groupCardBackground.cgColor
|
|
195
|
|
- layer?.borderColor = AppTheme.border.cgColor
|
|
|
196
|
+ layer?.borderColor = AppTheme.paywallBorder.cgColor
|
|
196
|
197
|
}
|
|
197
|
198
|
}
|
|
198
|
199
|
|