//
//  NSAppearance+IsDarkMode.h
//  GlyphsKit
//
//  Created by Georg Seifert on 13.10.18.
//  Copyright © 2018 Georg Seifert. All rights reserved.
//

NS_ASSUME_NONNULL_BEGIN

@interface NSAppearance (IsDarkMode)

@property (readonly, class) BOOL isDarkMode;

@property (readonly) BOOL isDarkMode;

@property (readonly, class) BOOL usesVibrancy;

@property (readonly) BOOL usesVibrancy;

#if !TARGET_OS_IOS
+ (NSAppearance *)darkAppearance;

+ (NSAppearance *)lightAppearance;
#endif

@end

@interface NSView (IsDarkMode)

@property BOOL isDarkMode;

@end

@interface NSControl (IsDarkMode)

@property BOOL isDarkMode;

@end

NS_ASSUME_NONNULL_END
