monaco-editor
Version:
A browser based code editor
22 lines (21 loc) • 676 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export class EditorTheme {
get type() {
return this._theme.type;
}
get value() {
return this._theme;
}
constructor(theme) {
this._theme = theme;
}
update(theme) {
this._theme = theme;
}
getColor(color) {
return this._theme.getColor(color);
}
}