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 have enabled hsl in the colorized config and it does work if the format of the color is like this hsl(0, 100%, 50%), but some components library likes to use hsl variables like ShadCN (--foreground: 222.2 47.4% 11.2%;) is there a way to support this kind of format ?
this is my current config
require("colorizer").setup({ "*" }, {
RGB=true, -- #RGB hex codesRRGGBB=true, -- #RRGGBB hex codesnames=true, -- "Name" codes like Blue or blueRRGGBBAA=true, -- #RRGGBBAA hex codesrgb_fn=true, -- CSS rgb() and rgba() functionshsl_fn=true, -- CSS hsl() and hsla() functionscss=true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBBcss_fn=true, -- Enable all CSS functions: rgb_fn, hsl_fnmode="background", -- Set the display mode.lowercase=true, -- Enable lowercase color names
})
To Reproduce
Your configuration and/or a small reproducible test, and/or the steps required to reproduce.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Operating System:
e.g. Ubuntu 16.04
Neovim Version:
e.g. 0.4.2
Colorizer Version:
Paste the output of
find ~/.config/nvim/ -type d -name 'nvim-colorizer.lua' -exec git rev-parse HEAD \;
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
i have enabled hsl in the colorized config and it does work if the format of the color is like this hsl(0, 100%, 50%), but some components library likes to use hsl variables like ShadCN (--foreground: 222.2 47.4% 11.2%;) is there a way to support this kind of format ?
this is my current config
To Reproduce
Your configuration and/or a small reproducible test, and/or the steps required to reproduce.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Operating System:
e.g. Ubuntu 16.04
Neovim Version:
e.g. 0.4.2
Colorizer Version:
Paste the output of
find ~/.config/nvim/ -type d -name 'nvim-colorizer.lua' -exec git rev-parse HEAD \;
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: