Skip to content

Stylix + Nixvim/Neovim - Light themes always have a grey background #590

Answered by trueNAHO
dmarcoux asked this question in Q&A
Discussion options

You must be logged in to vote

I'm setting up Stylix to style Neovim (configured via Nixvim) and for an unknown reason, Neovim always has a grey background whenever I set Stylix to use a light theme such as solarized-light.

[...]

With solarized-light, the background should be a light beige, not grey. In my Neovim config, I have vim.opt.termguicolors = true and my terminal emulator is Alacritty. The only way to have the theme correctly render in Neovim is to disable the styling of Alacritty with stylix.targets.alacritty.enable = false;.

Maybe the stylix.targets.nixvim.transparentBackground options resolve your issue:

transparentBackground = {
m…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dmarcoux
Comment options

Answer selected by dmarcoux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants