ui icon indicating copy to clipboard operation
ui copied to clipboard

tailwind opacity issue

Open areebbbb opened this issue 2 years ago • 5 comments

The utilization of "bg-primary/10" is not feasible in this case as it necessitates the inclusion of opacity using a comma separator, which is not supported by the Tailwind CSS framework out of the box.

areebbbb avatar Jun 09 '23 15:06 areebbbb

Can you explain or provide an example?

its-monotype avatar Jun 09 '23 16:06 its-monotype

Did you read the section about CSS variables: https://tailwindcss.com/docs/customizing-colors

its-monotype avatar Jun 09 '23 16:06 its-monotype

image Alpha values are missing legacy way works with hsl

areebbbb avatar Jun 09 '23 20:06 areebbbb

I don't understand what seems to be the issue here, could you explain yourself a little better and maybe provide an example?

dan5py avatar Jun 10 '23 17:06 dan5py

I have made pr for it you can check it out https://github.com/shadcn/ui/pull/561 the modern way is not working with tailwind css or guide me and help me out over here I would really appreciate it. It is my first PR for any open-source project 🚀

areebbbb avatar Jun 10 '23 20:06 areebbbb