We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8120e8b commit 5b8a4caCopy full SHA for 5b8a4ca
ColorSetKit/NSColor+ColorSetKit.m
@@ -92,7 +92,7 @@ + ( nullable NSColor * )colorFromColorSet: ( NSString * )name
92
93
if( @available( macOS 10.14, * ) )
94
{
95
- if( pair.variant != nil && [ [ NSAppearance currentAppearance ].name isEqualToString: NSAppearanceNameDarkAqua ] )
+ if( pair.variant != nil && [ NSApp.effectiveAppearance.name isEqualToString: NSAppearanceNameDarkAqua ] )
96
97
return pair.variant;
98
}
0 commit comments