From edad4bd41d965f7ddfedefc5eac0ce2f205df489 Mon Sep 17 00:00:00 2001 From: mortalYoung Date: Thu, 22 Jul 2021 19:00:24 +0800 Subject: [PATCH] fix: improve editor icon --- src/components/tabs/style.scss | 3 ++- src/extensions/theme-defaults/themes/dark_defaults.json | 6 +++--- src/extensions/theme-defaults/themes/light_defaults.json | 5 +++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/tabs/style.scss b/src/components/tabs/style.scss index 0ed82030f..6ae0c75e3 100644 --- a/src/components/tabs/style.scss +++ b/src/components/tabs/style.scss @@ -50,8 +50,9 @@ } &__op { - color: inherit; + color: var(--icon-foreground); margin-left: 10px; + transform: translateY(1px); width: 20px; &__dot { diff --git a/src/extensions/theme-defaults/themes/dark_defaults.json b/src/extensions/theme-defaults/themes/dark_defaults.json index ac49d4615..07feb59c2 100644 --- a/src/extensions/theme-defaults/themes/dark_defaults.json +++ b/src/extensions/theme-defaults/themes/dark_defaults.json @@ -37,11 +37,11 @@ "statusBarItem.remoteBackground": "#16825D", "sidebarSectionHeader.background": "#0000", "sidebarSectionHeader.border": "#ccc3", - "tab.border": "#333", + "tab.border": "#252526", "tab.inactiveBackground": "rgb(45, 45, 45)", "tab.inactiveForeground": "rgba(255, 255, 255, 0.5)", - "tab.activeBackground": "rgb(30, 30, 30)", - "tab.activeForeground": "rgb(255, 255, 255)", + "tab.activeBackground": "#1E1E1E", + "tab.activeForeground": "#fff", "diffEditor.insertedTextBackground": "#9bb95533", "diffEditor.removedTextBackground": "#ff000033", "actionBar.checkedBackground": "rgba(0, 127, 212, 0.4)" diff --git a/src/extensions/theme-defaults/themes/light_defaults.json b/src/extensions/theme-defaults/themes/light_defaults.json index 8e712645f..ad5a653a4 100644 --- a/src/extensions/theme-defaults/themes/light_defaults.json +++ b/src/extensions/theme-defaults/themes/light_defaults.json @@ -36,12 +36,13 @@ "statusBarItem.remoteBackground": "#16825D", "sidebarSectionHeader.background": "#0000", "sidebarSectionHeader.border": "#61616130", - "tab.border": "#333", + "tab.border": "#f3f3f3", "menu.selectionBackground": "#0060C0", "menu.separatorBackground": "#888888", "tab.inactiveBackground": "rgb(236, 236, 236)", "tab.inactiveForeground": "rgba(51, 51, 51, 0.7)", - "tab.activeForeground": "rgb(255, 255, 255)" + "tab.activeBackground": "#fffffe", + "tab.activeForeground": "#333333" }, "semanticHighlighting": true }