From 5bd12d6f9b3310a6467093cba1597780c57d9417 Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Wed, 3 May 2017 17:51:35 +0200 Subject: [PATCH] chore: Improve worckbench theme --- src/themes/theme-template.yml | 12 +++++++++++- themes/Material-Theme-Darker.json | 10 ++++++++-- themes/Material-Theme-Default.json | 10 ++++++++-- themes/Material-Theme-Lighter.json | 10 ++++++++-- themes/Material-Theme-Palenight.json | 10 ++++++++-- 5 files changed, 43 insertions(+), 9 deletions(-) diff --git a/src/themes/theme-template.yml b/src/themes/theme-template.yml index 41b5841..2309d08 100644 --- a/src/themes/theme-template.yml +++ b/src/themes/theme-template.yml @@ -410,7 +410,6 @@ colors: focusBorder: '{{variant.scheme.focusBorder}}' editorCursor.foreground: '{{variant.scheme.caret}}' scrollbar.shadow: '{{variant.scheme.shadow}}' - widget.shadow: '{{variant.scheme.shadow}}' # Editor editor.background: '{{variant.scheme.background}}' @@ -455,6 +454,9 @@ colors: input.background: '{{variant.scheme.inputBackground}}' input.foreground: '{{variant.scheme.inputForeground}}' input.border: '{{variant.scheme.inputBorder}}' + inputValidation.errorBorder: '{{variant.scheme.base.red}}' + inputValidation.infoBorder: '{{variant.scheme.base.blue}}' + inputValidation.warningBorder: '{{variant.scheme.base.yellow}}' # Lists list.hoverBackground: '{{variant.scheme.background}}' @@ -486,6 +488,10 @@ colors: editorSuggestWidget.selectedBackground: '{{variant.scheme.lineHighlight}}' editorSuggestWidget.border: '{{variant.scheme.inputBorder}}' + # Find & Replace Widgets + widget.shadow: '{{variant.scheme.shadow}}' + editorWidget.background: '{{variant.scheme.background}}' + # Badge activityBarBadge.background: '{{variant.scheme.accents.teal}}' activityBarBadge.foreground: '{{variant.scheme.base.black}}' @@ -493,6 +499,10 @@ colors: # Panels panel.border: '{{variant.scheme.background}}' + # Diff tool + diffEditor.insertedTextBackground: '{{variant.scheme.base.green}}15' + diffEditor.removedTextBackground: '{{variant.scheme.base.red}}20' + # Buttons #button.background: '{{variant.scheme.accents.teal}}' #button.foreground: '{{variant.scheme.base.black}}' diff --git a/themes/Material-Theme-Darker.json b/themes/Material-Theme-Darker.json index 318eb93..a2ce924 100644 --- a/themes/Material-Theme-Darker.json +++ b/themes/Material-Theme-Darker.json @@ -666,7 +666,6 @@ "focusBorder": "#FFFFFF00", "editorCursor.foreground": "#FFCC00", "scrollbar.shadow": "#00000030", - "widget.shadow": "#00000030", "editor.background": "#212121", "editor.foreground": "#EEFFFF", "editorLineNumber.foreground": "#424242", @@ -693,6 +692,9 @@ "input.background": "#FFFFFF05", "input.foreground": "#EEFFFF", "input.border": "#FFFFFF10", + "inputValidation.errorBorder": "#FF5370", + "inputValidation.infoBorder": "#82AAFF", + "inputValidation.warningBorder": "#FFCB6B", "list.hoverBackground": "#212121", "list.activeSelectionBackground": "#00000050", "list.activeSelectionForeground": "#80CBC4", @@ -715,8 +717,12 @@ "editorSuggestWidget.highlightForeground": "#80CBC4", "editorSuggestWidget.selectedBackground": "#00000050", "editorSuggestWidget.border": "#FFFFFF10", + "widget.shadow": "#00000030", + "editorWidget.background": "#212121", "activityBarBadge.background": "#80CBC4", "activityBarBadge.foreground": "#000000", - "panel.border": "#212121" + "panel.border": "#212121", + "diffEditor.insertedTextBackground": "#C3E88D15", + "diffEditor.removedTextBackground": "#FF537020" } } \ No newline at end of file diff --git a/themes/Material-Theme-Default.json b/themes/Material-Theme-Default.json index daf548c..a532e41 100644 --- a/themes/Material-Theme-Default.json +++ b/themes/Material-Theme-Default.json @@ -666,7 +666,6 @@ "focusBorder": "#FFFFFF00", "editorCursor.foreground": "#FFCC00", "scrollbar.shadow": "#00000030", - "widget.shadow": "#00000030", "editor.background": "#263238", "editor.foreground": "#EEFFFF", "editorLineNumber.foreground": "#37474F", @@ -693,6 +692,9 @@ "input.background": "#FFFFFF05", "input.foreground": "#EEFFFF", "input.border": "#FFFFFF10", + "inputValidation.errorBorder": "#FF5370", + "inputValidation.infoBorder": "#82AAFF", + "inputValidation.warningBorder": "#FFCB6B", "list.hoverBackground": "#263238", "list.activeSelectionBackground": "#00000050", "list.activeSelectionForeground": "#80CBC4", @@ -715,8 +717,12 @@ "editorSuggestWidget.highlightForeground": "#80CBC4", "editorSuggestWidget.selectedBackground": "#00000050", "editorSuggestWidget.border": "#FFFFFF10", + "widget.shadow": "#00000030", + "editorWidget.background": "#263238", "activityBarBadge.background": "#80CBC4", "activityBarBadge.foreground": "#000000", - "panel.border": "#263238" + "panel.border": "#263238", + "diffEditor.insertedTextBackground": "#C3E88D15", + "diffEditor.removedTextBackground": "#FF537020" } } \ No newline at end of file diff --git a/themes/Material-Theme-Lighter.json b/themes/Material-Theme-Lighter.json index 26b924d..91b6bb3 100644 --- a/themes/Material-Theme-Lighter.json +++ b/themes/Material-Theme-Lighter.json @@ -666,7 +666,6 @@ "focusBorder": "#FFFFFF00", "editorCursor.foreground": "#27272790", "scrollbar.shadow": "#00000030", - "widget.shadow": "#00000030", "editor.background": "#FAFAFA", "editor.foreground": "#90A4AE", "editorLineNumber.foreground": "#CFD8DC", @@ -693,6 +692,9 @@ "input.background": "#00000005", "input.foreground": "#90A4AE", "input.border": "#00000010", + "inputValidation.errorBorder": "#E53935", + "inputValidation.infoBorder": "#6182B8", + "inputValidation.warningBorder": "#FFB62C", "list.hoverBackground": "#FAFAFA", "list.activeSelectionBackground": "#90A4AE20", "list.activeSelectionForeground": "#80CBC4", @@ -715,8 +717,12 @@ "editorSuggestWidget.highlightForeground": "#80CBC4", "editorSuggestWidget.selectedBackground": "#90A4AE20", "editorSuggestWidget.border": "#00000010", + "widget.shadow": "#00000030", + "editorWidget.background": "#FAFAFA", "activityBarBadge.background": "#80CBC4", "activityBarBadge.foreground": "#000000", - "panel.border": "#FAFAFA" + "panel.border": "#FAFAFA", + "diffEditor.insertedTextBackground": "#91B85915", + "diffEditor.removedTextBackground": "#E5393520" } } \ No newline at end of file diff --git a/themes/Material-Theme-Palenight.json b/themes/Material-Theme-Palenight.json index 25291ab..13135d3 100644 --- a/themes/Material-Theme-Palenight.json +++ b/themes/Material-Theme-Palenight.json @@ -666,7 +666,6 @@ "focusBorder": "#FFFFFF00", "editorCursor.foreground": "#FFCC00", "scrollbar.shadow": "#00000050", - "widget.shadow": "#00000050", "editor.background": "#292D3E", "editor.foreground": "#A6ACCD", "editorLineNumber.foreground": "#3A3F58", @@ -693,6 +692,9 @@ "input.background": "#FFFFFF05", "input.foreground": "#EEFFFF", "input.border": "#FFFFFF10", + "inputValidation.errorBorder": "#FF5370", + "inputValidation.infoBorder": "#82AAFF", + "inputValidation.warningBorder": "#FFCB6B", "list.hoverBackground": "#292D3E", "list.activeSelectionBackground": "#00000030", "list.activeSelectionForeground": "#80CBC4", @@ -715,8 +717,12 @@ "editorSuggestWidget.highlightForeground": "#80CBC4", "editorSuggestWidget.selectedBackground": "#00000030", "editorSuggestWidget.border": "#FFFFFF10", + "widget.shadow": "#00000050", + "editorWidget.background": "#292D3E", "activityBarBadge.background": "#80CBC4", "activityBarBadge.foreground": "#000000", - "panel.border": "#292D3E" + "panel.border": "#292D3E", + "diffEditor.insertedTextBackground": "#C3E88D15", + "diffEditor.removedTextBackground": "#FF537020" } } \ No newline at end of file