如何更改 VS Code 中包含选项卡和其他操作的顶部栏以及面包屑栏的颜色?
我尝试更改工具栏和状态栏,但没有成功。
您要查找的UI元素ID主要有以下几种:
"workbench.colorCustomizations": {
"[Name Of Your Theme Here]": {
"tab.activeBackground": "#ff0000",
"tab.inactiveBackground": "#ff0000",
"breadcrumb.background": "#ff0000",
"editorGroupHeader.tabsBackground": "#ff0000"
}
}
您需要从扩展程序的源文件中找出要使用的颜色值。请参阅扩展程序的 package.json 文件和
"contributes"
> "themes"
字段以找出主题的 JSON 文件是什么,然后读取该文件并查找上述 UI 元素 ID 以及它们具有哪些颜色值。
另请参阅 https://code.visualstudio.com/docs/getstarted/themes#_customizing-a-color-theme。