Token is a warm, muted Neovim 0.12+ colorscheme that is written in Lua. Dark and light variants, no configuration. There is no setup function. Load it and it works. The idea is simple: a theme you never configure is a theme you stop thinking about.
Terminal themes for Ghostty, fish, delta, tmux and others are generated from the same palette file, so everything matches without extra work.
vim.o.background| Dark | Light |
|---|---|
![]() |
![]() |
![]() |
![]() |
-- vim.pack (Neovim 0.12+)
vim.pack.add('https://github.com/ThorstenRhau/token')
-- lazy.nvim
{ 'ThorstenRhau/token' }
vim.cmd.colorscheme('token')
Respects vim.o.background. Set dark or light before loading the
colorscheme, or change it at runtime to switch variants.
Token works out of the box without compilation. For faster startup, you can pre-compile the theme into bytecode:
:TokenCompile
This writes compiled dark and light variants to stdpath('cache')/token/. On
next load the cached bytecode is used instead of the dynamic highlight path.
Rerun :TokenCompile after updating the plugin. If the cache becomes stale or
corrupt it is deleted automatically and the dynamic path is used as fallback.
Pre-generated theme files for terminal tools. Auto-generated from the palette;
rebuild after palette changes with make contrib.
| Tool | Files | Usage |
|---|---|---|
| bat | contrib/bat/token-{dark,light}.tmTheme |
Copy to bat themes dir, run bat cache --build |
| delta | contrib/delta/token.gitconfig |
Include from ~/.gitconfig, set features = token-dark in [delta] |
| emacs | contrib/emacs/token-{dark,light}-theme.el |
Copy to ~/.emacs.d/themes/, then (load-theme 'token-dark t) |
| fish | contrib/fish/token.theme |
Copy to ~/.config/fish/themes/, then run fish_config theme choose token |
| fzf | contrib/fzf/token-{dark,light}.fish |
source /path/to/token-dark.fish in config.fish to append theme colors to FZF_DEFAULT_OPTS |
| ghostty | contrib/ghostty/token-{dark,light} |
Copy to ~/.config/ghostty/themes/, then set theme = dark:token-dark,light:token-light |
| lazygit | contrib/lazygit/token-{dark,light}.yml |
Merge into ~/.config/lazygit/config.yml |
| ripgrep | contrib/ripgrep/token-{dark,light}.ripgreprc |
RIPGREP_CONFIG_PATH=/path/to/token-dark.ripgreprc |
| starship | contrib/starship/token-{dark,light}.toml |
Append to starship.toml, set palette = "token" |
| tmux | contrib/tmux/token-{dark,light}.conf |
source-file /path/to/token-dark.conf in tmux.conf |
BSD 3-Clause