Based on the amazing Dark Flat Iterm2 terminal theme.
Normal background
{"sekke276/dark_flat.nvim"}
- Neovim >= 0.9.1
- nvim-treesitter for better syntax highlighting (optional) 😇
vim.cmd.colorscheme "dark_flat"
Option | Description | Type |
---|---|---|
transparent |
enable transparent background | boolean |
colors |
custom colors | table<string, string> |
themes |
custom highlight groups | function(colors): tables |
italics |
enable italics | boolean |
require("dark_flat").setup({
transparent = false,
colors = {},
themes = function(colors)
return {}
end,
italics = true,
})
require("dark_flat").setup({
transparent = true, -- enable transparent window
colors = {
lmao = "#ffffff", -- add new color
pink = "#ec6075", -- replace default color
},
themes = function(colors)
-- change highlight of some groups,
-- the key and value will be passed respectively to "nvim_set_hl"
return {
Normal = { bg = colors.lmao },
DiffChange = { fg = colors.white:darken(0.3) },
ErrorMsg = { fg = colors.pink, standout = true },
["@lsp.type.keyword"] = { link = "@keyword" }
}
end,
italics = false, -- disable italics
})