更改VS Code的标题栏颜色?

问题描述 投票:8回答:5

有没有办法改变VS Code(v1.26.0)的Title Bar颜色?

visual-studio-code vscode-settings
5个回答
20
投票
  1. File> Preferences> Settings
  2. 寻找"window.titleBarStyle": "native",将其复制到您的用户设置并将其更改为"window.titleBarStyle": "custom",它将适应您的主题。
  3. 如果当前颜色不是您想要的颜色,或者您想调整它,请尝试这样做。
  4. 在您的用户设置中添加以下内容。 "workbench.colorCustomizations": { "[Name of the Current Theme you are using]": { "titleBar.activeBackground": "#191919cc", "titleBar.activeForeground":"#ffffff", }, }, "window.titleBarStyle": "custom"

15
投票

cmd palette

打开File> Preferences> Settings并添加以下设置:

"workbench.colorCustomizations": {
  "titleBar.activeBackground": "#553955" // change this color!
}

result

来自以下来源:

https://medium.com/@camdenb/colorful-vscode-titlebars-for-better-productivity-b05a619defed


2
投票

现在有一个名为Window Colors的方便的VSCode市场插件,它可以自动为每个窗口的活动栏和标题栏着色。

enter image description here

Just got ot extensions and type: window colors

有关更多信息,请参阅VSCode marketplace webpage


2
投票

John Papa几个月前推出了Peacock。从那以后我一直在使用它。

它是一个易于使用的插件,具有一组很好的命令可供使用。

高度定制化。

还强调BrandColors,当你同时处理涉及不同框架和库的几个不同项目时,它会派上用场。


0
投票

我创建了一个简单的VScode插件,它接受一个正则表达式和颜色列表,并根据它们更改titleBar。它适用于monorepos或具有多个包的大型项目(如lerna,或反应+反应原生)

https://marketplace.visualstudio.com/items?itemName=orepor.color-tabs-vscode-ext

© www.soinside.com 2019 - 2024. All rights reserved.