有没有办法改变VS Code(v1.26.0)的Title Bar
颜色?
File
> Preferences
> Settings
"window.titleBarStyle": "native"
,将其复制到您的用户设置并将其更改为"window.titleBarStyle": "custom"
,它将适应您的主题。
"workbench.colorCustomizations": {
"[Name of the Current Theme you are using]": {
"titleBar.activeBackground": "#191919cc",
"titleBar.activeForeground":"#ffffff",
},
},
"window.titleBarStyle": "custom"
打开File
> Preferences
> Settings
并添加以下设置:
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#553955" // change this color!
}
来自以下来源:
https://medium.com/@camdenb/colorful-vscode-titlebars-for-better-productivity-b05a619defed
现在有一个名为Window Colors的方便的VSCode市场插件,它可以自动为每个窗口的活动栏和标题栏着色。
Just got ot extensions and type: window colors
有关更多信息,请参阅VSCode marketplace webpage:
John Papa几个月前推出了Peacock
。从那以后我一直在使用它。
它是一个易于使用的插件,具有一组很好的命令可供使用。
高度定制化。
还强调BrandColors,当你同时处理涉及不同框架和库的几个不同项目时,它会派上用场。
我创建了一个简单的VScode插件,它接受一个正则表达式和颜色列表,并根据它们更改titleBar。它适用于monorepos或具有多个包的大型项目(如lerna,或反应+反应原生)
https://marketplace.visualstudio.com/items?itemName=orepor.color-tabs-vscode-ext