tailwindshades icon indicating copy to clipboard operation
tailwindshades copied to clipboard

Feature Request: Space separated RGB values

Open CharlyRipp opened this issue 3 years ago • 1 comments

https://tailwindcss.com/docs/customizing-colors#using-css-variables

It would be nice if 3) Get Code had the option to produce CSS variables with space-separated RGB values for use with dynamic opacity (or CSS variable theming in general).

If I get time, I can take a look to make a PR but it's been years since I've done Vue.js.

CharlyRipp avatar May 19 '22 17:05 CharlyRipp

That's a very interesting feature, maybe a bit niche, but I can see it being very useful. We had a similar need for this recently and (a bit embarrassed to say), we decided to create multiple shades for the colors with opacity, using hex alpha.

This could be delivered in a modal along with some sort of instructions on how to implement the CSS variables.

leoquack avatar May 21 '22 12:05 leoquack