Skip to content

A comfortable and accessible dark theme for Visual Studio Code

License

Notifications You must be signed in to change notification settings

dustypomerleau/tol

Repository files navigation

Tol

A comfortable and accessible dark theme for Visual Studio Code


A note on maintenance:

I have moved on to using Tol.nvim as my regular theme. I will gladly merge PRs to keep this repo working nicely for everyone, but I won't be actively maintaining it.


Tol is heavily influenced by my Yarra Valley theme, but uses a more muted palette developed by Paul Tol for clarity and color accessibility.

Tol provides support for semantic highlighting and bracket colorization. The screenshot below was taken with the following options in settings.json:

{
    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs": true,
    "editor.guides.bracketPairsHorizontal": false,
    "editor.semanticHighlighting.enabled": true
}

rust

Customization

If you need to modify any of the existing colors, you can do this in your settings.json:

// semantic highlighting scopes
"editor.semanticTokenColorCustomizations": {
    "[Tol]": {
        "rules": {
            "function.declaration:rust": "#aabbccff"
        }
    }
},

// textmate scopes
"editor.tokenColorCustomizations": {
    "[Tol]": {
        "textMateRules": [
            {
                "scope": [
                    "storage.type"
                ],
                "settings": {
                    "foreground": "#ff8000ff"
                }
            }
        ]
    }
},

// workbench colors
"workbench.colorCustomizations": {
    "[Tol]": {
        "editorError.foreground": "#aa00ffff"
    }
}

For available options, check out the Theme Color docs. Default colors are listed in colors.txt.

Supported languages and extensions

About

A comfortable and accessible dark theme for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published