Allow decorations to use theme colors. For #26974

This commit is contained in:
Martin Aeschlimann
2017-05-24 22:56:13 +02:00
committed by Dirk Baeumer
parent 64e1c20856
commit e1e5bf41b3
13 changed files with 436 additions and 283 deletions

View File

@@ -534,6 +534,7 @@ export function createApiFactory(
WorkspaceEdit: extHostTypes.WorkspaceEdit,
ProgressLocation: extHostTypes.ProgressLocation,
TreeItemCollapsibleState: extHostTypes.TreeItemCollapsibleState,
ThemeColor: extHostTypes.ThemeColor,
// functions
FileLocationKind: extHostTypes.FileLocationKind,
ApplyToKind: extHostTypes.ApplyToKind,

View File

@@ -1270,3 +1270,10 @@ export enum TreeItemCollapsibleState {
Collapsed = 1,
Expanded = 2
}
export class ThemeColor {
id: string;
constructor(id: string) {
this.id = id;
}
}