import { Color } from '../../../../base/common/color'; import { IFileIconTheme } from '../../../../platform/theme/common/themeService'; export declare const VS_LIGHT_THEME = "vs"; export declare const VS_DARK_THEME = "vs-dark"; export declare const VS_HC_THEME = "hc-black"; export declare const HC_THEME_ID = "Default High Contrast"; export declare const THEME_SCOPE_OPEN_PAREN = "["; export declare const THEME_SCOPE_CLOSE_PAREN = "]"; export declare const THEME_SCOPE_WILDCARD = "*"; export declare const themeScopeRegex: RegExp; export declare enum ThemeSettings { COLOR_THEME = "workbench.colorTheme", FILE_ICON_THEME = "workbench.iconTheme", PRODUCT_ICON_THEME = "workbench.productIconTheme", COLOR_CUSTOMIZATIONS = "workbench.colorCustomizations", TOKEN_COLOR_CUSTOMIZATIONS = "editor.tokenColorCustomizations", SEMANTIC_TOKEN_COLOR_CUSTOMIZATIONS = "editor.semanticTokenColorCustomizations", PREFERRED_DARK_THEME = "workbench.preferredDarkColorTheme", PREFERRED_LIGHT_THEME = "workbench.preferredLightColorTheme", PREFERRED_HC_THEME = "workbench.preferredHighContrastColorTheme", DETECT_COLOR_SCHEME = "window.autoDetectColorScheme", DETECT_HC = "window.autoDetectHighContrast" } export interface IWorkbenchTheme { readonly id: string; readonly label: string; readonly extensionData?: ExtensionData; readonly description?: string; readonly settingsId: string | null; } export interface IColorMap { [id: string]: Color; } export interface IWorkbenchFileIconTheme extends IWorkbenchTheme, IFileIconTheme { } export interface IWorkbenchProductIconTheme extends IWorkbenchTheme { readonly settingsId: string; } export interface IThemeScopedColorCustomizations { [colorId: string]: string; } export interface IColorCustomizations { [colorIdOrThemeScope: string]: IThemeScopedColorCustomizations | string; } export interface IThemeScopedTokenColorCustomizations { [groupId: string]: ITextMateThemingRule[] | ITokenColorizationSetting | boolean | string | undefined; comments?: string | ITokenColorizationSetting; strings?: string | ITokenColorizationSetting; numbers?: string | ITokenColorizationSetting; keywords?: string | ITokenColorizationSetting; types?: string | ITokenColorizationSetting; functions?: string | ITokenColorizationSetting; variables?: string | ITokenColorizationSetting; textMateRules?: ITextMateThemingRule[]; semanticHighlighting?: boolean; } export interface ITokenColorCustomizations { [groupIdOrThemeScope: string]: IThemeScopedTokenColorCustomizations | ITextMateThemingRule[] | ITokenColorizationSetting | boolean | string | undefined; comments?: string | ITokenColorizationSetting; strings?: string | ITokenColorizationSetting; numbers?: string | ITokenColorizationSetting; keywords?: string | ITokenColorizationSetting; types?: string | ITokenColorizationSetting; functions?: string | ITokenColorizationSetting; variables?: string | ITokenColorizationSetting; textMateRules?: ITextMateThemingRule[]; semanticHighlighting?: boolean; } export interface IThemeScopedSemanticTokenColorCustomizations { [styleRule: string]: ISemanticTokenRules | boolean | undefined; enabled?: boolean; rules?: ISemanticTokenRules; } export interface ISemanticTokenColorCustomizations { [styleRuleOrThemeScope: string]: IThemeScopedSemanticTokenColorCustomizations | ISemanticTokenRules | boolean | undefined; enabled?: boolean; rules?: ISemanticTokenRules; } export interface IThemeScopedExperimentalSemanticTokenColorCustomizations { [themeScope: string]: ISemanticTokenRules | undefined; } export interface IExperimentalSemanticTokenColorCustomizations { [styleRuleOrThemeScope: string]: IThemeScopedExperimentalSemanticTokenColorCustomizations | ISemanticTokenRules | undefined; } export declare type IThemeScopedCustomizations = IThemeScopedColorCustomizations | IThemeScopedTokenColorCustomizations | IThemeScopedExperimentalSemanticTokenColorCustomizations | IThemeScopedSemanticTokenColorCustomizations; export declare type IThemeScopableCustomizations = IColorCustomizations | ITokenColorCustomizations | IExperimentalSemanticTokenColorCustomizations | ISemanticTokenColorCustomizations; export interface ISemanticTokenRules { [selector: string]: string | ISemanticTokenColorizationSetting | undefined; } export interface ITextMateThemingRule { name?: string; scope?: string | string[]; settings: ITokenColorizationSetting; } export interface ITokenColorizationSetting { foreground?: string; background?: string; fontStyle?: string; } export interface ISemanticTokenColorizationSetting { foreground?: string; fontStyle?: string; bold?: boolean; underline?: boolean; italic?: boolean; } export interface ExtensionData { extensionId: string; extensionPublisher: string; extensionName: string; extensionIsBuiltin: boolean; } export declare namespace ExtensionData { function toJSONObject(d: ExtensionData | undefined): any; function fromJSONObject(o: any): ExtensionData | undefined; } export interface IThemeExtensionPoint { id: string; label?: string; description?: string; path: string; uiTheme?: typeof VS_LIGHT_THEME | typeof VS_DARK_THEME | typeof VS_HC_THEME; _watch: boolean; } //# sourceMappingURL=workbenchThemeService.d.ts.map