UNPKG

1.23 kBTypeScriptView Raw
1import { ColorRegistry } from './color-registry';
2import { Emitter } from '../common/event';
3import { ThemeService } from './theming';
4import { FrontendApplicationContribution } from './frontend-application';
5import { ContributionProvider } from '../common/contribution-provider';
6import { Disposable, DisposableCollection } from '../common/disposable';
7export declare const ColorContribution: unique symbol;
8export interface ColorContribution {
9 registerColors(colors: ColorRegistry): void;
10}
11export declare class ColorApplicationContribution implements FrontendApplicationContribution {
12 protected readonly onDidChangeEmitter: Emitter<void>;
13 readonly onDidChange: import("../common/event").Event<void>;
14 private readonly windows;
15 protected readonly colors: ColorRegistry;
16 protected readonly colorContributions: ContributionProvider<ColorContribution>;
17 protected readonly themeService: ThemeService;
18 onStart(): void;
19 registerWindow(win: Window): Disposable;
20 protected readonly toUpdate: DisposableCollection;
21 protected update(): void;
22 protected updateWindow(win: Window): void;
23 protected updateThemeBackground(): void;
24}
25//# sourceMappingURL=color-application-contribution.d.ts.map
\No newline at end of file