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
}
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
.
- AsciiDoc (AsciiDoc)
- C (C/C++)
- C# (C#)
- C++ (C/C++)
- Clojure
- Crystal (Crystal Language)
- CSS
- Dart (Dart Code)
- EdgeQL (edgedb)
- Elixir (ElixirLS)
- Elm (Elm)
- Erlang (erlang)
- F# (Ionide-fsharp)
- Gleam (Gleam Syntax)
- Go (Go)
- GraphQL (GraphQL)
- Haskell (Haskell Syntax Highlighting)
- HTML
- Idris (Idris)
- Java (Java Extension Pack)
- JavaScript
- JavaScript React (JSX)
- Kotlin (Kotlin Language)
- LaTeX (LaTeX Workshop)
- Less
- Lua (Lua)
- makefile
- Markdown
- Ocaml (reason-vscode or OCaml and Reason IDE)
- PHP
- PowerShell (PowerShell)
- Python (Python)
- R (R)
- Racket (Magic Racket)
- Reason (reason-vscode or OCaml and Reason IDE)
- reStructuredText (reStructuredText Syntax Highlighting)
- Ruby (Ruby + VSCode Ruby)
- Rust (Rust Syntax + rust-analyzer)
- Sass (Sass)
- Scheme (vscode-scheme)
- SCSS
- shell script
- SQL
- Swift (Swift Language)
- TOML (Better TOML)
- TypeScript
- TypeScript React (TSX)
- VimScript (VimL)
- YAML