From 83ad005d7e5de7904a897a91bc9a2cda10be072a Mon Sep 17 00:00:00 2001 From: Filipe Herculano Date: Fri, 15 May 2020 23:31:38 -0400 Subject: [PATCH 1/2] Add peekViewEditor colors for dark theme Fix #38 --- src/theme.js | 5 +++++ themes/dark.json | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/theme.js b/src/theme.js index 77737e4..065f979 100644 --- a/src/theme.js +++ b/src/theme.js @@ -179,6 +179,11 @@ function getTheme({ style, name }) { "debugToolBar.background": pick({ light: primer.white, dark: "#2b3036" }), "editor.stackFrameHighlightBackground": primer.yellow[1], "editor.focusedStackFrameHighlightBackground": primer.yellow[2], + + "peekViewEditor.matchHighlightBackground": pick({ dark: "#ffd33d44" }), + "peekViewEditor.background": pick({ dark: "#1f242888" }), + "peekViewResult.background": pick({ dark: "#1f2428" }), + "settings.headerForeground": primer.gray[9], "settings.modifiedItemIndicator": primer.blue[4], "welcomePage.buttonBackground": primer.gray[1], diff --git a/themes/dark.json b/themes/dark.json index 9d3b88f..219db64 100644 --- a/themes/dark.json +++ b/themes/dark.json @@ -141,6 +141,9 @@ "debugToolBar.background": "#2b3036", "editor.stackFrameHighlightBackground": "#b08800", "editor.focusedStackFrameHighlightBackground": "#dbab09", + "peekViewEditor.matchHighlightBackground": "#ffd33d44", + "peekViewEditor.background": "#1f242888", + "peekViewResult.background": "#1f2428", "settings.headerForeground": "#fafbfc", "settings.modifiedItemIndicator": "#0366d6", "welcomePage.buttonBackground": "#2f363d", From b0c3845cd8ce254fcca48c11d1be35893a475a4c Mon Sep 17 00:00:00 2001 From: Filipe Herculano Date: Sat, 16 May 2020 14:15:20 -0400 Subject: [PATCH 2/2] Add peekViewResult colors and tweak opacity --- src/theme.js | 3 ++- themes/dark.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/theme.js b/src/theme.js index 065f979..228f0fe 100644 --- a/src/theme.js +++ b/src/theme.js @@ -180,7 +180,8 @@ function getTheme({ style, name }) { "editor.stackFrameHighlightBackground": primer.yellow[1], "editor.focusedStackFrameHighlightBackground": primer.yellow[2], - "peekViewEditor.matchHighlightBackground": pick({ dark: "#ffd33d44" }), + "peekViewEditor.matchHighlightBackground": pick({ dark: "#ffd33d33" }), + "peekViewResult.matchHighlightBackground": pick({ dark: "#ffd33d33" }), "peekViewEditor.background": pick({ dark: "#1f242888" }), "peekViewResult.background": pick({ dark: "#1f2428" }), diff --git a/themes/dark.json b/themes/dark.json index 219db64..58b0d24 100644 --- a/themes/dark.json +++ b/themes/dark.json @@ -141,7 +141,8 @@ "debugToolBar.background": "#2b3036", "editor.stackFrameHighlightBackground": "#b08800", "editor.focusedStackFrameHighlightBackground": "#dbab09", - "peekViewEditor.matchHighlightBackground": "#ffd33d44", + "peekViewEditor.matchHighlightBackground": "#ffd33d33", + "peekViewResult.matchHighlightBackground": "#ffd33d33", "peekViewEditor.background": "#1f242888", "peekViewResult.background": "#1f2428", "settings.headerForeground": "#fafbfc",