colorbuddy.nvim icon indicating copy to clipboard operation
colorbuddy.nvim copied to clipboard

Background color not being set

Open Wmbat opened this issue 2 years ago • 3 comments

Hello, I'm writing a colorscheme for my neovim and i set the Normal group like so in my theme file:

Group.new('Normal',  colors.fg, colors.bg, styles.NONE)

with fg and bg being:

Color.new('fg', #c5cdd9')
Color.new('bg', '#2b2d3a')

but, the background color is not correct, while every other color is. This is what the background color is at the moment incorrect_bg which has the hex value 282c34 instead of 2b2d3a. Do you have any idea why?

The entire theme is located here if needed.

Wmbat avatar Mar 28 '22 23:03 Wmbat

Might need to update the link. Are you sure image compression is not to blame for this?

k9ur avatar Jul 15 '22 11:07 k9ur

I ran into this too. It seems bg, background, etc. are reserved words (which seems awkward for a theme helper/framework, where it's probably pretty common for a theme creator to define a bg or background color).

What are your thoughts @tjdevries, might you be open to a PR to free up these reserved words?

jesseleite avatar Dec 01 '22 02:12 jesseleite

yes, definitely open to that

tjdevries avatar Dec 01 '22 21:12 tjdevries