Tol
A comfortable and accessible dark theme for Visual Studio Code
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
}
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