更改 Visual Studio Code 的标题栏颜色
问题描述:
有没有办法更改 Visual Studio Code (v1.26.0) 的 Title Bar
颜色?
Is there a way to change the Title Bar
color for Visual Studio Code (v1.26.0)?
答
菜单文件 →首选项 →设置
Menu File → Preferences → Settings
查找 "window.titleBarStyle": "native"
,将其复制到您的用户设置中,并将其更改为 "window.titleBarStyle": "custom"代码>.它会立即调整您的主题.
Look for "window.titleBarStyle": "native"
, copy it to your user settings, and change it to "window.titleBarStyle": "custom"
. It will adapt your theme now.
如果当前颜色不是您想要的颜色或者您想要调整它,请尝试这样做.
If the current color is not what you want or you want to tweak it, try doing this.
在您的用户设置中,添加以下内容.
In your user settings, add the following.
"workbench.colorCustomizations": {
"[Name of the Current Theme you are using]": {
"titleBar.activeBackground": "#191919cc",
"titleBar.activeForeground":"#ffffff",
},
},
"window.titleBarStyle": "custom"