during migration to lazy.nvim it was omitted in my local configuration regarding the colorscheme because it is in `init.lua`. Just adding it here to make it more universally usable – and because it’s in the legacy Packer configuration snippet, too. |
||
---|---|---|
colors | ||
doc | ||
lua | ||
LICENSE.txt | ||
readme.md |
readme.md
A colorscheme based on the Tango color palette that originates from the Tango Desktop Project.
The colorscheme has a slight bias on yellow-ish and green colors and supports dark backgrounds only. Please refer to the full color palette for more details on the used colors.
There are no background colors set, so the color of the terminal is used. Ideally the terminal’s background-color is set to #2e3435
and the foreground color (text color) is set to #d3d7cf
.
Screenshots
Here are some screenshots to show how the colorscheme looks like.
Languages/Sources in order:
- Lua code from Neovim’s
runtime/lua/vim/diagnostic.lua
file - Bash script from the bash-completion package
- Python program from the glib library
- Markdown source in a specific state of this readme
The status line seen in the screenshots is lualine.nvim with my configuration.
Installation
You can simply install the colorscheme using a package manager.
-- lazy.nvim
require('lazy').setup({
-- [more plugins here]
{
url = 'https://git.0x7be.net/dirk/neovim-tango-colors',
lazy = false,
priority = 1000,
config = function ()
vim.opt.termguicolors = true
vim.cmd.colorscheme('tango-colors')
end
}
})
-- Packer
require('packer').startup(function(use)
-- [more plugins here]
use({
'https://git.0x7be.net/dirk/neovim-tango-colors',
config = function()
vim.opt.termguicolors = true
vim.cmd.colorscheme('tango-colors')
end
})
end)
This installs/loads the colorscheme plugin and enables it using one of those package managers.
Supported plugins and features
- all common nvim-treesitter highlights
- non-treesitter Git diffs
- packer.nvim
- lualine.nvim (use
tango
as theme name) - WhichKey
- built-in
netrw
plugin - built-in
pmenu
plugin
Elements that are currently not styled but are common highlights will look very ugly on purpose. If you see one of them (and you will clearly notice them), please share a code snippet showing them. Interested users and developers: please refer to the definitions format documentation.