Skip to content

Commit 7383b7a

Browse files
committed
fix: Fixed dark appearance detection before macOS 10.14
1 parent 5a79344 commit 7383b7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ColorSetKit/NSColor+ColorSetKit.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,10 @@ public extension NSColor
598598
return true
599599
}
600600
}
601+
else
602+
{
603+
return appearance?.name == .vibrantDark
604+
}
601605

602606
return false
603607
}

0 commit comments

Comments
 (0)