diff --git a/extensions/theme-setter/index.ts b/extensions/theme-setter/index.ts deleted file mode 100644 index c576b55..0000000 --- a/extensions/theme-setter/index.ts +++ /dev/null @@ -1,18 +0,0 @@ -import * as vscode from 'vscode'; - -import { THEMES } from './themes'; - -export const COMMAND_THEME_SETTER = () => { - vscode.window.showQuickPick(Object.keys(THEMES)).then(themeSelected => { - - vscode.workspace.getConfiguration().update('workbench.colorTheme', THEMES[themeSelected], true).then(() => { - if (themeSelected === undefined) return; - - vscode.window.showInformationMessage(`${ themeSelected } theme set.`); - }, () => { - if (themeSelected === undefined) return; - - vscode.window.showErrorMessage(`Cannot set theme ${ themeSelected }, please report this bug to the Material theme devs.`); - }); - }); -}; \ No newline at end of file diff --git a/extensions/theme-setter/themes.ts b/extensions/theme-setter/themes.ts deleted file mode 100644 index 2813753..0000000 --- a/extensions/theme-setter/themes.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { IGenericObject } from "../interfaces/igeneric-object"; - -export const THEMES: IGenericObject = { - Default: 'Material Theme', - Darker: 'Material Theme Darker', - Lighter: 'Material Theme Lighter', - 'Pale night': 'Material Theme Palenight' -} \ No newline at end of file