dotfiles/modules/colorscheme/gruvbox/default.nix

44 lines
1.2 KiB
Nix
Raw Normal View History

{
name = "gruvbox"; # Dark, Medium
author =
"Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox)";
base00 = "#282828"; # ----
base01 = "#3c3836"; # ---
base02 = "#504945"; # --
base03 = "#665c54"; # -
base04 = "#bdae93"; # +
base05 = "#d5c4a1"; # ++
base06 = "#ebdbb2"; # +++
base07 = "#fbf1c7"; # ++++
base08 = "#fb4934"; # red
base09 = "#fe8019"; # orange
base0A = "#fabd2f"; # yellow
base0B = "#b8bb26"; # green
base0C = "#8ec07c"; # aqua/cyan
base0D = "#83a598"; # blue
base0E = "#d3869b"; # purple
base0F = "#d65d0e"; # brown
2022-07-09 21:57:56 +00:00
neovimConfig = ''
local M = {}
M.packer = function(use)
use({
"morhetz/gruvbox",
config = function()
vim.g.gruvbox_italic = 1
-- vim.api.nvim_create_autocmd("ColorScheme", {
-- pattern = "*",
-- command = "colorscheme gruvbox",
-- })
vim.cmd([[
autocmd ColorScheme * highlight Normal ctermbg=NONE guibg=NONE
colorscheme gruvbox
]])
end,
})
end
return M
'';
}