Skip to content

Commit

Permalink
fix: Fixed dark appearance detection before macOS 10.14
Browse files Browse the repository at this point in the history
  • Loading branch information
macmade committed Aug 30, 2023
1 parent 5a79344 commit 7383b7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ColorSetKit/NSColor+ColorSetKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,10 @@ public extension NSColor
return true
}
}
else
{
return appearance?.name == .vibrantDark
}

return false
}
Expand Down

0 comments on commit 7383b7a

Please sign in to comment.