我想更改CSS代码中
{
符号的颜色,但它不起作用。
请参阅下面 css 代码中的{
:
在上面的代码中,“{”看起来像黄色,即使我在 settings.json 文件中应用了自定义代码。
我的代码是
"editor.tokenColorCustomizations": {
"[Sonokai]:{
"textMateRules":[{
"scope":[
"punctuation.section.property-list.begin.bracket.curly.css",
"meta.property-list.css",
"source.css",
"meta.embedded.block.html",
"text.html.derivative"
],
"settings": {
"foreground":"#D7D8DBE7"
}
}
]
我发现无论我在
"foreground":"..."
中写什么颜色,它总是显示相同的颜色。
仅将颜色设置应用于 punctuation.section.property-list.begin.bracket.curly.css
范围也不起作用。
工作台下.颜色自定义
"workbench.colorCustomizations": { "editorBracketHighlight.foreground2": "#ff0000", "editorBracketHighlight.foreground3": "#20ff6eda", "editorBracketHighlight.foreground1": "#00eeff" },