You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Expected behavior
I expected it to use some type of contrast detection algorithm and automatically switch the blending text to
background
mode.Screenshots
Neovim Version:
0.9.5
Colorizer Version:
I'm on commit a065833
The text was updated successfully, but these errors were encountered: