我们的 VS code 默认是 黑色,这个颜色在有光的情况下,个人感觉反光比较严重。
所以换成白色了。
步骤:
- 选择 File -> Preferences -> Settings
- Workbench -> Appearance -> Color Theme -> 选择喜欢的颜色
- 选择后会变为你选择的颜色,但是左边一栏还是显示的黑色。这个需要修改 settings.json 文件
添加如下配置:
"workbench.colorCustomizations": {
"[Default Light+]": {
"activityBar.activeBackground": "#4ef738", //打开菜单的颜色
"activityBar.background": "#f78484", // 背景色
"activityBar.foreground": "#000000", // 前景色(图标)
// "statusBar.background": "#000",
// "statusBarItem.remoteBackground": "#000"
}
}