Skip to content

gruvbox theme optimized for c/c++ and D

License

Notifications You must be signed in to change notification settings

hntu1995/gruvbox-vscode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

gruvbox-vscode

Just set this in your settings.json

    "workbench.colorCustomizations": {
        "editor.background": "#1d2021",
        "editor.selectionHighlightBorder": "#a00808",

        "editor.foldBackground": "#1d2021",

        "editorError.background": "#a00808",
        "editorError.border": "#fb4934",

        "editorSuggestWidget.background": "#1d2021",
        "editorSuggestWidget.selectedBackground": "#33322e",
        "editorSuggestWidget.selectedForeground": "#ebdbb2",
        "editorSuggestWidget.highlightForeground": "#83a598",
        "editorSuggestWidget.foreground": "#ebdbb2",
        "editorSuggestWidget.focusHighlightForeground": "#83a598",
        "editorSuggestWidget.selectedIconForeground": "#83a598",
        "editorSuggestWidget.border": "#ebdbb2",
    },
    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "variable",
                "settings": {
                    "foreground": "#ebdbb2",
                    "fontStyle": ""
                }
            },
            {
                "scope": "meta.block",
                "settings": {
                    "foreground": "#ebdbb2",
                    "fontStyle": ""
                }
            },
            {
                "scope": "variable.other.member",
                "settings": {
                    "foreground": "#ebdbb2",
                    "fontStyle": ""
                }
            },
            {
                "scope": "variable.parameter",
                "settings": {
                    "foreground": "#ebdbb2",
                    //"fontStyle": "underline"
                }
            },
            {
                "scope": "entity.name",
                "settings": {
                    "foreground": "#ebdbb2",
                    "fontStyle": ""
                }
            },
            {
                "scope": "entity.name.namespace",
                "settings": {
                    "foreground": "#ebdbb2",
                    "fontStyle": ""
                }
            },
            {
                "scope": "entity.name.type",
                "settings": {
                    "foreground": "#fabd2f",
                    "fontStyle": ""
                }
            },
            {
                "scope": "entity.name.struct",
                "settings": {
                    "foreground": "#fabd2f",
                    "fontStyle": ""
                }
            },
            {
                "scope": "entity.name.class",
                "settings": {
                    "foreground": "#fabd2f",
                    "fontStyle": ""
                }
            },
            {
                "scope": "entity.name.enum",
                "settings": {
                    "foreground": "#fabd2f",
                    "fontStyle": ""
                }
            },
            {
                "scope": "constant.other.d",
                "settings": {
                    "foreground": "#fabd2f",
                    "fontStyle": ""
                }
            },
            {
                "scope": "entity.name.function",
                "settings": {
                    "foreground": "#b8bb26",
                    "fontStyle": ""
                }
            },
            {
                "scope": "keyword.control",
                "settings": {
                    "foreground": "#fb4934",
                }
            },
            {
                "scope": "keyword.other",
                "settings": {
                    "foreground": "#fb4934",
                    "fontStyle": "bold"
                }
            },
            {
                "scope": "keyword.operator",
                "settings": {
                    "foreground": "#fb4934",
                }
            },
            {
                "scope": "keyword.operator.variadic",
                "settings": {
                    "foreground": "#fb4934",
                    "fontStyle": "bold underline"
                }
            },
            {
                "scope": "variable.language",
                "settings": {
                    "foreground": "#fb4934",
                    "fontStyle": "underline"
                }
            },
            {
                "scope": "storage.modifier",
                "settings": {
                    "foreground": "#fb4934",
                }
            },
            {
                "scope": "string",
                "settings": {
                    "foreground": "#98971a",
                    "fontStyle": ""
                }
            },
            {
                "scope": "constant.numeric",
                "settings": {
                    "foreground": "#d3869b",
                    "fontStyle": ""
                }
            },
            {
                "scope": "constant.language",
                "settings": {
                    "foreground": "#d3869b",
                    "fontStyle": ""
                }
            },
            {
                "scope": "storage.type",
                "settings": {
                    "foreground": "#83a598",
                    "fontStyle": ""
                }
            },


            {
                "scope": "punctuation.section.block",
                "settings": {
                    "foreground": "#ebdbb2",
                    "fontStyle": ""
                }
            },
            {
                "scope": "punctuation.section.parens",
                "settings": {
                    "foreground": "#ebdbb2",
                    "fontStyle": ""
                }
            },
            
            // JSON specific
            {
                "scope": "support.type.property-name",
                "settings": {
                    "foreground": "#83a598",
                    "fontStyle": ""
                }
            },

            // C specific
            {
                "scope": "support.type",
                "settings": {
                    "foreground": "#fabd2f",
                    "fontStyle": ""
                }
            },
            {
                "scope": "keyword.other.unit",
                "settings": {
                    "foreground": "#d3869b",
                    "fontStyle": ""
                }
            },
        ]
    },

About

gruvbox theme optimized for c/c++ and D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published