From a1cb49d296e5415e4b1edcd67964ded61596557d Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Fri, 17 Jul 2020 18:40:44 -0400 Subject: Improve legibility/consistency of Yaru selection --- themes/dark/yaru-dark.json | 3 +++ themes/light/yaru.json | 5 ++++- themes/src/dark/yaru-dark.ts | 5 ++++- themes/src/light/yaru.ts | 5 ++++- 4 files changed, 15 insertions(+), 3 deletions(-) (limited to 'themes') diff --git a/themes/dark/yaru-dark.json b/themes/dark/yaru-dark.json index d44271c..ca1ef08 100644 --- a/themes/dark/yaru-dark.json +++ b/themes/dark/yaru-dark.json @@ -377,6 +377,9 @@ "editorLineNumber.foreground": "#FFFFFF4d", "editorLineNumber.activeForeground": "#e95420", "editor.selectionBackground": "#5e2750", + "editor.selectionHighlightBackground": "#5e2750aa", + "editor.wordHighlightBackground": "#5e2750aa", + "editor.wordHighlightStrongBackground": "#5e2750aa", "editor.lineHighlightBorder": "#FFFFFF1a", "editor.rangeHighlightBackground": "#FFFFFF0d", "editorWidget.background": "#434343", diff --git a/themes/light/yaru.json b/themes/light/yaru.json index c369263..9d59640 100644 --- a/themes/light/yaru.json +++ b/themes/light/yaru.json @@ -376,7 +376,10 @@ "editor.foreground": "#111111", "editorLineNumber.foreground": "#aea79f", "editorLineNumber.activeForeground": "#e95420", - "editor.selectionBackground": "#903c7b", + "editor.selectionBackground": "#bb90b7aa", + "editor.selectionHighlightBackground": "#bb90b7aa", + "editor.wordHighlightBackground": "#bb90b7aa", + "editor.wordHighlightStrongBackground": "#bb90b7aa", "editor.lineHighlightBorder": "#FFFFFF1a", "editor.rangeHighlightBackground": "#FFFFFF0d", "editorWhitespace.foreground": "#bfbfbf", diff --git a/themes/src/dark/yaru-dark.ts b/themes/src/dark/yaru-dark.ts index 33d885c..fce36ba 100644 --- a/themes/src/dark/yaru-dark.ts +++ b/themes/src/dark/yaru-dark.ts @@ -57,7 +57,10 @@ const colorSet: IColorSet = { brightWhite: '#ffffff', }, ui: { - selection: colors.midAubergine + selection: colors.midAubergine, + selectionHighlight: colors.midAubergine + 'aa', + wordHighlight: colors.midAubergine + 'aa', + wordHighlightStrong: colors.midAubergine + 'aa', }, overrides: { 'activityBar.background': colors.activityBarGray, diff --git a/themes/src/light/yaru.ts b/themes/src/light/yaru.ts index 01ac6e1..d59ac96 100644 --- a/themes/src/light/yaru.ts +++ b/themes/src/light/yaru.ts @@ -64,7 +64,10 @@ const colorSet: IColorSet = { ui: { invisibles: colors.guideGray, guide: colors.guideGray, - selection: colors.midAubergine, + selection: colors.lightAubergine + 'aa', + selectionHighlight: colors.lightAubergine + 'aa', + wordHighlight: colors.lightAubergine + 'aa', + wordHighlightStrong: colors.lightAubergine + 'aa', }, overrides: { 'activityBar.background': colors.highlightGray, -- cgit v1.2.3