步骤:
-
打开 VSCode
-
按 Ctrl+Shift+P
-
输入:
Preferences: Open Settings (JSON) -
在
settings.json里加入想调整的颜色
"workbench.colorCustomizations": {
"editor.background": "#2e2e2e",
"sideBar.background": "#2e2e2e",
"panel.background": "#2e2e2e",
// 标题栏
"titleBar.activeBackground": "#000000",
"titleBar.activeForeground": "#ffffff",
"titleBar.inactiveBackground": "#777777",
"titleBar.inactiveForeground": "#020202",
// 状态栏
"statusBar.background": "#2e2e2e",
// 标签容器背景
"editorGroupHeader.tabsBackground": "#2e2e2e",
"tab.activeBackground": "#2e2e2e",
"tab.activeForeground": "#fad4d4",
"tab.inactiveBackground": "#2e2e2e",
"tab.inactiveForeground": "#8b8b8b",
}