#import FOUNDATION_EXPORT NSString *const DYThemeDidChange; FOUNDATION_EXPORT NSArray *DYThemeNames(void); FOUNDATION_EXPORT NSInteger DYThemeIndex(void); FOUNDATION_EXPORT void DYSetThemeIndex(NSInteger index); FOUNDATION_EXPORT NSDictionary *DYThemePalette(void); FOUNDATION_EXPORT NSColor *DYThemeColor(NSString *role); FOUNDATION_EXPORT NSColor *DYThemeSwatch(NSInteger index); // Shared AppKit controls keep native actions, focus, and accessibility. FOUNDATION_EXPORT NSShadow *DYThemeTextShadow(void); FOUNDATION_EXPORT NSDictionary *DYThemeTextAttributes(NSFont *font, NSColor *color); FOUNDATION_EXPORT void DYDrawThemeSurface(NSBezierPath *path, BOOL card); @interface DYThemeLabel : NSTextField @end @interface DYThemeButton : NSButton @end @interface DYThemePopUpButton : NSPopUpButton @end