Merge pull request #95778 from microsoft/aeschli/themeApiFinal

make API to access theme kind final
This commit is contained in:
Martin Aeschlimann
2020-04-22 17:14:28 +02:00
committed by GitHub
3 changed files with 31 additions and 40 deletions

View File

@@ -604,11 +604,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostQuickOpen.createInputBox(extension.identifier);
},
get activeColorTheme(): vscode.ColorTheme {
checkProposedApiEnabled(extension);
return extHostTheming.activeColorTheme;
},
onDidChangeActiveColorTheme(listener, thisArg?, disposables?) {
checkProposedApiEnabled(extension);
return extHostTheming.onDidChangeActiveColorTheme(listener, thisArg, disposables);
}
};