UNPKG

759 BTypeScriptView Raw
1import { Disposable } from '../common/disposable';
2import { Emitter } from '../common/event';
3import { ColorDefinition, ColorCssVariable } from '../common/color';
4export declare class ColorRegistry {
5 protected readonly onDidChangeEmitter: Emitter<void>;
6 readonly onDidChange: import("../common/event").Event<void>;
7 protected fireDidChange(): void;
8 getColors(): IterableIterator<string>;
9 getCurrentCssVariable(id: string): ColorCssVariable | undefined;
10 toCssVariableName(id: string, prefix?: string): string;
11 getCurrentColor(id: string): string | undefined;
12 register(...definitions: ColorDefinition[]): Disposable;
13 protected doRegister(definition: ColorDefinition): Disposable;
14}
15//# sourceMappingURL=color-registry.d.ts.map
\No newline at end of file