UNPKG

499 BTypeScriptView Raw
1export declare type ThemeType = 'light' | 'dark' | 'hc' | 'hcLight';
2export interface Theme {
3 readonly id: string;
4 readonly type: ThemeType;
5 readonly label: string;
6 readonly description?: string;
7 readonly editorTheme?: string;
8 activate?(): void;
9 deactivate?(): void;
10}
11export declare function isHighContrast(scheme: ThemeType): boolean;
12export interface ThemeChangeEvent {
13 readonly newTheme: Theme;
14 readonly oldTheme?: Theme;
15}
16//# sourceMappingURL=theme.d.ts.map
\No newline at end of file