diff --git a/package.json b/package.json index d82f6aa..c4cca1b 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,11 @@ "default": true, "description": "color tab border if regex match found" }, + "colorTabs.tabBackground": { + "type": "boolean", + "default": false, + "description": "color tab background if regex match found" + }, "colorTabs.titleBackground": { "type": "boolean", "default": false, diff --git a/src/changeColors.ts b/src/changeColors.ts index ac40e1b..9f54aa4 100644 --- a/src/changeColors.ts +++ b/src/changeColors.ts @@ -20,6 +20,7 @@ export default async (color?: string) => { settings.get(COLOR_CUSTOMIZATIONS) || {}; const { tabBorder, + tabBackground, titleBackground, activityBarBackground, statusBarBackground, @@ -36,6 +37,7 @@ export default async (color?: string) => { const colorCustomization: ColorCustomization = { ...currentColorCustomization, ...(tabBorder ? { "tab.activeBorder": tabBarBorderColor } : {}), + ...(tabBackground ? { "tab.activeBackground": tabBarBorderColor } : {}), ...(titleBackground ? { "titleBar.activeBackground": titleBarBackgroundColor } : {}), diff --git a/src/getSettings.ts b/src/getSettings.ts index f2d38d0..bc6f860 100644 --- a/src/getSettings.ts +++ b/src/getSettings.ts @@ -9,6 +9,7 @@ export type ColorRegex = { type AllSettings = { config?: ColorRegex[]; tabBorder?: boolean; + tabBackground?: boolean; ignoreCase?: boolean; titleBackground?: boolean; activityBarBackground?: boolean;