Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Β 
Β 

Latest commit

Β 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

token

A Neovim colorscheme with dark and light variants, with full treesitter support. Requires Neovim 0.12+. Inspired by the Anthropic Claude interface. After years of switching between themes, I built my own. The contrib folder includes themes for Ghostty, fish, starship, delta, tmux, and more, all generated from the same palette.

Showcase

Dark Light
Dark variant Light variant

Install

-- vim.pack (Neovim 0.12+)
vim.pack.add('https://github.com/ThorstenRhau/token')

-- lazy.nvim
{ 'ThorstenRhau/token' }

Usage

vim.cmd.colorscheme('token')

Respects vim.o.background. Set dark or light before loading the colorscheme, or change it at runtime to switch variants.

Structure

token/
β”œβ”€β”€ colors/
β”‚   └── token.lua
β”œβ”€β”€ lua/
β”‚   β”œβ”€β”€ lualine/themes/
β”‚   β”‚   └── token.lua
β”‚   └── token/
β”‚       β”œβ”€β”€ init.lua
β”‚       β”œβ”€β”€ palette.lua
β”‚       β”œβ”€β”€ terminal.lua
β”‚       └── groups/
β”‚           β”œβ”€β”€ base.lua
β”‚           β”œβ”€β”€ treesitter.lua
β”‚           β”œβ”€β”€ lsp.lua
β”‚           └── plugins.lua
β”œβ”€β”€ scripts/
β”‚   └── gen_contrib.lua
β”œβ”€β”€ README.md
└── LICENSE

Supported plugins

blink.cmp, claudecode.nvim, diffview.nvim, fzf-lua, gitsigns.nvim, hlchunk.nvim, indent-blankline.nvim, lualine.nvim, markview.nvim, mason.nvim, mini.clue, mini.icons, mini.statusline, neogit, nvim-tree.lua, oil.nvim, snacks.nvim, treesitter-context, trouble.nvim, vim-matchup.

Contrib themes

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 Add [include] path = /path/to/token.gitconfig, then set [delta] features = token-dark or token-light
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

License

BSD 3-Clause

About

🌈 Neovim colorscheme with terminal-wide contrib themes

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages