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.
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![Screenshot_20240518_115735](https://github.com/norcalli/nvim-colorizer.lua/assets/130742861/a6ed9810-7583-4cf7-a6ad-694d4a98f4d8)
Neovim Version: 0.9.5
Colorizer Version: I'm on commit a065833