Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Space separated RGB values #39

Open
CharlyRipp opened this issue May 19, 2022 · 1 comment
Open

Feature Request: Space separated RGB values #39

CharlyRipp opened this issue May 19, 2022 · 1 comment

Comments

@CharlyRipp
Copy link

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.

@leoquack
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants