VS code 豆沙绿护眼主题

先上效果图:


VS code 豆沙绿护眼主题_第1张图片
效果截图

操作步骤:
1、下载亮色主题 Green Tree Theme
2、Ctrl+Shift+p ,输入settings,选择open settings (JSON)
3、黏贴下面的json配置

{
    "workbench.colorTheme": "Green Tree",
    "workbench.colorCustomizations": {
        "[Green Tree]": {
            "editor.background": "#d4ecd6",
            "editorIndentGuide.background": "#00772e",
            "editorIndentGuide.activeBackground": "#b43939",
            "editorGroupHeader.tabsBackground": "#75A681",
            "editor.lineHighlightBackground": "#e2f1bf",
            "sideBar.background": "#CCE8CF",
            "sideBar.border": "#00772e",
            "activityBar.background": "#75A681",
            "activityBar.foreground": "#000000",
            "activityBar.border": "#00772e",
            //文件页签
            "tab.hoverBackground": "#7FD181",
            "tab.inactiveForeground": "#000000",
            "tab.inactiveBackground": "#CCE8CF",
            "tab.activeBorder": "#75A681",
            "tab.activeBackground": "#7FD181",
            "tab.activeBorderTop": "#fff",
            "tab.border": "#75A681",
            "editorGroupHeader.tabsBorder": "#75A681", //顶部标签边框
            "editorGutter.background": "#b9e5be", //行号背景色
            "editorLineNumber.foreground": "#00772e", //行号字色
            //面包屑导航
            "breadcrumb.background": "#b9e5be",
            "breadcrumb.foreground": "#00772e",
        },
    },
    "editor.tokenColorCustomizations": {
        "[Green Tree]": {
            "comments": "#287ea5da",
            "strings": "#005c23",
            "keywords": "#721111",
            "functions": "#B30000",
            "textMateRules": [
                {
                    "name": "Variable",
                    "scope": [
                        "variable.language",
                        "variable.other"
                    ],
                    "settings": {
                        "foreground": "#000000"
                    }
                },
                {
                    "name": "Variable start",
                    "scope": "punctuation.definition.variable",
                    "settings": {
                        "foreground": "#a7001c"
                    }
                },
                {
                    "name": "Function name",
                    "scope": "entity.name.function",
                    "settings": {
                        "foreground": "#000872"
                    }
                },
                {
                    "name": "Keyword",
                    "scope": "keyword",
                    "settings": {
                        "foreground": "#09168b"
                    }
                },
            ]
        }
    },

你可能感兴趣的:(VS code 豆沙绿护眼主题)