morhetz / gruvbox

Retro groove color scheme for Vim
13.43k stars 1.1k forks source link

Palette colors #431

Open JoaoRuss0 opened 1 year ago

JoaoRuss0 commented 1 year 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?