A dark Neovim colorscheme inspired by iTerm2's built-in "Dark Background" preset. Muted, neutral tones with low contrast — designed for long coding sessions without eye fatigue.
Includes matching tmux and iTerm2 color presets for a fully consistent terminal experience.
| Role | Color | Hex |
|---|---|---|
| Background | #0D0D0D |
|
| Foreground | #B8B8B8 |
|
| Red | #B56A5A |
|
| Green | #6B9B6B |
|
| Yellow | #A8A070 |
|
| Blue | #6B8AB8 |
|
| Purple | #A87AB8 |
|
| Cyan | #6BA8A8 |
{
"daaanny90/iterm2-dark-background.nvim",
lazy = false,
priority = 1000,
config = function()
require("iterm2dark").setup({})
vim.cmd.colorscheme("iterm2-dark-background")
end,
}
use {
"daaanny90/iterm2-dark-background.nvim",
config = function()
require("iterm2dark").setup({})
vim.cmd.colorscheme("iterm2-dark-background")
end,
}
Clone the repository into your Neovim packages directory:
git clone https://github.com/daaanny90/iterm2-dark-background.nvim \
~/.local/share/nvim/site/pack/plugins/start/iterm2-dark-background.nvim
Then add to your init.lua:
require("iterm2dark").setup({})
vim.cmd.colorscheme("iterm2-dark-background")
All options with their defaults:
require("iterm2dark").setup({
transparent = false, -- transparent background (requires terminal transparency)
vivid = false, -- slightly more saturated syntax colors (~15%)
italic_comments = true, -- italic style for comments
bold_keywords = false, -- bold style for keywords
terminal_colors = true, -- set terminal ANSI colors
dim_inactive = false, -- dim inactive windows
lualine_bold = false, -- bold mode indicator in lualine
})
Note on transparency: When
transparent = true, the editor background becomes transparent so your terminal's background shows through. Some highlight groups (floating windows, popups) keep their background for readability. Your terminal emulator must support transparency for this to have any effect.
The lualine theme is auto-discovered when the colorscheme is active. If you want to set it explicitly:
require("lualine").setup({
options = {
theme = "iterm2-dark-background",
},
})
Import extras/iterm2-muted.itermcolors in iTerm2:
extras/iterm2-muted.itermcolorsSource extras/iterm2-muted.tmux in your tmux config:
source-file /path/to/iterm2-dark-background.nvim/extras/iterm2-muted.tmux
The tmux theme includes a minimal status-right with date and time. Customize it to add your own system info scripts:
# Example: add your own status modules
set -g status-right "#(~/.config/tmux/battery.sh) | %d.%m. %H:%M "
MIT