aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Daniel Smith <rdnlsmith@gmail.com> 2020-07-17 18:40:44 -0400
committerGravatar Daniel Smith <rdnlsmith@gmail.com> 2020-07-17 18:40:44 -0400
commita1cb49d296e5415e4b1edcd67964ded61596557d (patch)
treee45b5bd2538988ac002037fd556f5e11d6dd5eef
parent3fa1cda971acdab34ee3f0e7d8e288fcb7c17eae (diff)
Improve legibility/consistency of Yaru selection
-rw-r--r--themes/dark/yaru-dark.json3
-rw-r--r--themes/light/yaru.json5
-rw-r--r--themes/src/dark/yaru-dark.ts5
-rw-r--r--themes/src/light/yaru.ts5
4 files changed, 15 insertions, 3 deletions
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,