vscode 主题美化
主题使用Tokyo Night
由于我在用rust的时候发现其对一些变量的颜色不太好看,所以自己又在设置中改了一点
"editor.tokenColorCustomizations": {
....
"[Tokyo Night]": { // or "[Tokyo Night Storm]"
"textMateRules": [
{
"scope": [
"comment keyword.codetag.notation",
"comment.block.documentation keyword",
"comment.block.documentation storage.type.class"
],
"settings": {
"foreground": "#bb9af7"
}
},
{
"scope": [
"comment.block.documentation entity.name.type.instance"
],
"settings": {
"foreground": "#73daca",
"fontStyle": "italic"
}
},
{
"scope": [
"comment.block.documentation entity.name.type punctuation.definition.bracket"
],
"settings": {
"foreground": "#bb9af7"
}
},
{
"scope": [
"comment.block.documentation variable"
],
"settings": {
"foreground": "#e0af68",
"fontStyle": "italic"
}
},
{
"scope": "entity.name.type.rust",
"settings": {
"foreground": "#7aa2f7"
}
},
{
"scope": "entity.name.type.struct.rust",
"settings": {
"foreground": "#a43603"
}
},
{
"scope": "entity.name.module.rust",
"settings": {
"foreground": "#61afef"
}
},
{
"scope": "meta.import.rust",
"settings": {
"foreground": "#0286f1"
}
},
{
"scope": "meta.attribute.rust",
"settings": {
"foreground": "#e5c07b"
}
}
]
}
},
标签:comment,foreground,documentation,settings,vscode,主题,rust,scope,美化
From: https://www.cnblogs.com/alanli07/p/18558958