根据VS Code的十月版本,现在可以通过activityBar.activeBorder
和来控制活动栏活动元素的边框和背景activityBar.activeBackground
。
但是,将这些添加到我的对象settings.json
似乎并不会更新active元素:
"other.setting.foo": "bar", "activityBar.activeBorder": "#8A2BE2", "activityBar.activeBackground": "#FFB6C1" "other.setting.baz": "qux",
Zach Valenta.. 14
activityBar.activeBorder
并且activityBar.activeBackground
需要嵌套在里面workbench.colorCustomizations
:
"other.setting.foo": "bar", "workbench.colorCustomizations": { "activityBar.activeBorder": "#8A2BE2", "activityBar.activeBackground": "#FFB6C1" }, "other.setting.baz": "qux",
https://github.com/microsoft/vscode/issues/84316#issuecomment-552014640
activityBar.activeBorder
并且activityBar.activeBackground
需要嵌套在里面workbench.colorCustomizations
:
"other.setting.foo": "bar", "workbench.colorCustomizations": { "activityBar.activeBorder": "#8A2BE2", "activityBar.activeBackground": "#FFB6C1" }, "other.setting.baz": "qux",
https://github.com/microsoft/vscode/issues/84316#issuecomment-552014640