在 Visual Studio 代码中更改标题栏和状态栏中的图标颜色

Change icon color in title bar & status bar in Visual Studio Code

我快把自己逼疯了,想弄清楚如何更改 VSCode 中这些图标的颜色。是否可以?我确定我遗漏了一些明显的东西。有人知道怎么做吗?

使用扩展 Custom CSS and JS Loader

并使用额外的样式

.codicon { color: red; }

您可以使用特定名称 class 为每个单独的图标着色,例如:

.codicon-split-horizontal:before { color: green; }

使用 Help > Toggle Developer Tools 通过定位 UI 找到要使用的 class部分与左上箭头。

如果图标是 SVG,也可以,但您必须找到正确的选择器来更改 SVG 内部的颜色,如 UI.