Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Palette colors #431

Open
JoaoRuss0 opened this issue Aug 6, 2022 · 0 comments
Open

Palette colors #431

JoaoRuss0 opened this issue Aug 6, 2022 · 0 comments

Comments

@JoaoRuss0
Copy link

JoaoRuss0 commented Aug 6, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant