创建 vscode 主题时如何自定义命令调色板颜色和键绑定 [英] How to customize command palette color and keybindings when creating vscode theme

查看:55
本文介绍了创建 vscode 主题时如何自定义命令调色板颜色和键绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为自己创建一个 VSCode 主题.我喜欢我目前的颜色配置,但是当我打开命令调色板时,它是透明的",很难阅读.设计主题时如何配置调色板?

Creating a VSCode theme for myself. I like the color configuration I have at the moment, but when I open the command palette, it is 'see-through' making it hard to read. How can I configure the palette when designing my theme?

推荐答案

要更改命令面板的背景,请修改 sideBar.background 设置.更多信息

To change the background of the command palette, modify the sideBar.background setting. More info

我和你遇到了完全相同的问题,所以我在文档中寻找它.起初我以为这是一个列表颜色设置,因为更改 list.focusBackground 会更改命令面板中的选定项目.

I had the exact same problem as you so I went hunting for it in the docs. At first I thought it was a list colour setting because changing list.focusBackground changes the selected item in the command palette.

这篇关于创建 vscode 主题时如何自定义命令调色板颜色和键绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆