diff --git a/extensions/material.theme.config.ts b/extensions/material.theme.config.ts index ddd7302..db511b3 100644 --- a/extensions/material.theme.config.ts +++ b/extensions/material.theme.config.ts @@ -15,6 +15,10 @@ const OPTIONS: IGenericObject = { } export function activate(context: vscode.ExtensionContext) { + if (vscode.workspace.getConfiguration().has('materialTheme.cache.workbench.accent')) { + vscode.workspace.getConfiguration().update('materialTheme.cache.workbench.accent', undefined, true); + } + // registering the command let command = vscode.commands.registerCommand('material.theme.config', () => { // the user is going to choose what aspect of theme to config diff --git a/package.json b/package.json index f641967..1faa68e 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,11 @@ ], "configuration": { "properties": { + "materialTheme.cache.workbench.accent": { + "type": "string", + "title": "[DEPRECATED] This is an old property.", + "description": "This property is intended only for migrating old settings system to a new one. It will be removed in new versions. Don't use it, use \"materialTheme.cache.workbench.settings\" instead." + }, "materialTheme.cache.workbench.settings": { "default": {}, "type": "object",