Formerly base16-vim, but now supports multiple scheme systems, currently base16 and base24, so we updated the name to reflect that.
Supports console Vim, graphical Vim and Neovim.
Over 250 themes plus light/dark variations are available. Here are some of our favorites:
The classic-dark theme:
The horizon-dark theme:
The onedark theme:
-
Install the plugin.
-
Configuration depends on your environment:
-
24-bit Terminal or GUI Vim
Vimscript:
set termguicolors " Only needed for terminal vim colorscheme base16-ayu-dark
Lua:
vim.cmd.colorscheme('base16-ayu-dark')
-
256 Color Terminal
Configure tinted-shell
Vimscript:
let tinted_colorspace=256 colorscheme base16-ayu-dark " Set to same theme as your terminal theme
Lua:
vim.g.tinted_colorspace = 256 vim.cmd.colorscheme('base16-ayu-dark')
-
16 Color Terminal
With a 16 color terminal there will be less "gray" colors. Configure terminal with theme from tinted-shell, official or unofficial.
Vimscript:
colorscheme base16-ayu-dark " Set to same theme as your terminal theme
Lua:
vim.cmd.colorscheme('base16-ayu-dark')
-
-
Check the highlights with (Neovim only):
:help tinted-vim{
"tinted-theming/tinted-vim",
}use {
"tinted-theming/tinted-vim",
config = function()
vim.cmd.colorscheme 'base16-ayu-dark'
end,
}cd ~/.vim/bundle
git clone https://github.com/tinted-theming/tinted-vim.gitPlugin 'tinted-theming/tinted-vim'Add the following to your ~/.vimrc file and run PlugInstall in Vim.
Plug 'tinted-theming/tinted-vim'Add the following to your ~/.vimrc file and run PluginInstall in Vim.
git clone https://github.com/tinted-theming/tinted-vim.git ~/.vim/bundle/tinted-vimPlugin 'tinted-theming/tinted-vim'You can use a symlink to easily keep things updated. Update your vim
colors every time you do a git pull on the tinted-vim repo.
-
Clone
tinted-vimsomewhere:git clone git://github.com/tinted-theming/tinted-vim.git ~/projects/tinted-vim -
Remove your old vim/nvim
colors/directory if it exists:rm -r ~/.vim/colors # Or ~/.config/nvim/colors for Neovim
-
Symlink the colors directory:
ln -s ~/projects/tinted-vim/colors/* ~/.vim/colors # Or for Neovim # ln -s ~/projects/tinted-vim/colors ~/.config/nvim/colors
cd ~/.vim/colors
git clone git://github.com/tinted-theming/tinted-vim.git tinted-vim
cp tinted-vim/colors/*.vim .cd ~/.config/nvim/colors
git clone git://github.com/tinted-theming/tinted-vim.git tinted-vim
cp tinted-vim/colors/*.vim .If you're using a terminal with an opacity of < 1, you'll notice that
tinted-vim doesn't respect this transparency by default. You can enable
transparent backgrounds with tinted-vim by adding the following settings
to your Vim/Neovim setup.
Vimscript:
let tinted_background_transparent=1Lua:
vim.g.tinted_background_transparent = 1There is a script to help troubleshoot colour issues called colortest
available in the tinted-shell repository.
If you are using a ISO-8613-3 compatible terminal (vim docs,
neovim docs), and you see a green or blue line, try to enable
termguicolors:
set termguicolorsIf your Vim looks like the above image you are using a 256 terminal
theme without setting let tinted_colorspace=256 in your ~/.vimrc.
Either set let tinted_colorspace=256 in your ~/.vimrc or use a non
256 terminal theme.
If your Vim looks like the above image you are setting let tinted_colorspace=256 in your ~/.vimrc but either not running
tinted-shell or tinted-shell is not working for your terminal. Either
ensure tinted-shell is working by running the colortest available
in the tinted-shell repository or not setting let tinted_colorspace=256 in your ~/.vimrc.
If you want to do some local customization, you can add something like
this to your ~/.vimrc:
" Set these to 0 to disable text styles. Default is 1
let g:tinted_bold = 0
let g:tinted_italic = 0
let g:tinted_strikethrough = 0
let g:tinted_underline = 0
let g:tinted_undercurl = 0
function! s:tinted_customize() abort
call Tinted_Hi("MatchParen", g:tinted_gui05, g:tinted_gui03, g:tinted_cterm05, g:tinted_cterm03, "bold,italic", "")
endfunction
augroup on_change_colorschema
autocmd!
autocmd ColorScheme * call s:tinted_customize()
augroup ENDSee CONTRIBUTING.md, which contains building and contributing instructions.




