File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -35,4 +35,6 @@ Packages/
35
35
36
36
# Carthage
37
37
Carthage /Checkouts
38
- Carthage /Build
38
+ Carthage /Build
39
+
40
+ Demo /Index
Original file line number Diff line number Diff line change @@ -373,12 +373,16 @@ public class ThemeManager: NSObject {
373
373
374
374
/// Convenience method to get the light appearance.
375
375
@objc public var lightAppearance : NSAppearance ? {
376
- return NSAppearance ( named: NSAppearance . Name . vibrantLight )
376
+ return NSAppearance ( named: . aqua )
377
377
}
378
378
379
379
/// Convenience method to get the dark appearance.
380
380
@objc public var darkAppearance : NSAppearance ? {
381
- return NSAppearance ( named: NSAppearance . Name. vibrantDark)
381
+ if #available( OSX 10 . 14 , * ) {
382
+ return NSAppearance ( named: . darkAqua)
383
+ } else {
384
+ return NSAppearance ( named: . vibrantDark)
385
+ }
382
386
}
383
387
384
388
// MARK: -
You can’t perform that action at this time.
0 commit comments