morhetz / gruvbox

Retro groove color scheme for Vim
13.86k stars 1.11k forks source link

Palette colors #431

Open JoaoRuss0 opened 2 years ago

JoaoRuss0 commented 2 years ago

I want to try and change a gruvbox palette color. This is what I did.

vim.cmd([[ let g:gruvbox_colors = {'bright_green': '#000000', 'neutral_green': '#000000', 'green': '#0
00000', 'faded_green': '#000000',}]], true)

-- Changes themes, light or dark
vim.o.background="dark"

-- Sets the colorscheme
vim.cmd([[colorscheme gruvbox]])

Doing :echo g:gruvbox_colors ouputs:

{'faded_green': '#000000', 'green': '#000000', 'neutral_green': '#000000', 'bright_green': '#000000'}

My end goal is to change the background color to white (#FFFFFF) and maybe the foreground to black (#000000), if it ends up being a change that I actually prefer over the default gruvbox dark theme.

This is not changing any of the greens, however after opening Neovim, the variable that overrides the color palette is set correctly. Am I doing something wrong? Is it changing something in another place and I just did not understand the wiki?