How to customize command palette color when creating vscode theme

ぃ、小莉子 提交于 2019-12-11 01:37:08

问题


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?


回答1:


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

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.




回答2:


V1.36 added these two colorCustomizations for the command palette/quick open panel:

"quickInput.background": "#ff0000",
"quickInput.foreground": "#fff"

Thanks to add color controls to quick open panel PR.



来源:https://stackoverflow.com/questions/50883705/how-to-customize-command-palette-color-when-creating-vscode-theme

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!