Bug: The text completely blends with the background color of nvim and becomes unreadable. Happens in 'foreground' mode.
Opened this issue · 0 comments
decipher-cs commented
Describe the bug
I'm using the tokyonight-night theme and any hex color with dark value just blends with the background when I set mode = foreground
To Reproduce
Use this config and open any file with a hex color whose value is close to your theme's background color. The text will blend.
I'm using the lazy plugin for setup and installation.
{
"norcalli/nvim-colorizer.lua",
config = function()
require("colorizer").setup({}, { mode = "foreground" })
end
},
Expected behavior
I expected it to use some type of contrast detection algorithm and automatically switch the blending text to background
mode.
Neovim Version:
0.9.5
Colorizer Version:
I'm on commit a065833