vscode主题美化

vscode 主题美化

主题使用Tokyo Night

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"
                    }
                },
                {
                    "scope": "entity.name.type.declaration.rust",
                    "settings": {
                        "foreground": "#f6a277"
                    }
                },
                {
                    "scope": "entity.name.type.trait.rust",
                    "settings": {
                        "foreground": "#f6a277"
                    }
                },
                {
                    "scope": "entity.name.type.enum.rust",
                    "settings": {
                        "foreground": "#f6a277"
                    }
                },
                {
                    "scope": "entity.name.type.numeric.rust",
                    "settings": {
                        "foreground": "#e88260"
                    }
                },
            ]
        }
    },

posted @ 2024-11-20 18:19  LIalan  阅读(126)  评论(0)    收藏  举报