From 20b2a0aac070b7625c96a1ce922093dcb198c84f Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Sat, 15 Feb 2020 13:27:45 +0100 Subject: [PATCH] fix: input selection background --- package.json | 5 +++-- scripts/generator/color-set.ts | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 6e4e6e7..36fdb18 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vsc-material-theme", "displayName": "Material Theme", "description": "The most epic theme now for Visual Studio Code", - "version": "32.4.0", + "version": "32.5.0", "publisher": "Equinusocio", "license": "Apache-2.0", "author": "Mattia Astorino [@equinusocio]", @@ -52,7 +52,8 @@ "*" ], "extensionKind": [ - "ui" + "ui", + "workspace" ], "main": "./build/material.theme.config", "contributes": { diff --git a/scripts/generator/color-set.ts b/scripts/generator/color-set.ts index 70108a1..c35b015 100644 --- a/scripts/generator/color-set.ts +++ b/scripts/generator/color-set.ts @@ -179,7 +179,7 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => { 'widget.shadow': theme.scheme.shadow, 'scrollbar.shadow': theme.scheme.shadow, 'editorLink.activeForeground': theme.scheme.foreground, - 'selection.background': theme.scheme.defaultAccent, + 'selection.background': `${theme.scheme.lineHighlight}80`, 'progressBar.background': theme.scheme.defaultAccent, 'debugToolBar.background': theme.scheme.background, 'pickerGroup.foreground': theme.scheme.defaultAccent, @@ -351,9 +351,10 @@ export const getColorSet = (theme: ThemeSetting): IColorSet => { * Textfield and inputs style */ 'input.background': theme.scheme.inputBackground, - 'input.foreground': theme.scheme.inputForeground, + 'input.foreground': theme.scheme.foreground, 'input.placeholderForeground': `${theme.scheme.foreground}60`, 'input.border': theme.scheme.inputBorder, + /** * Inputs validation style */