Add Tailwind color codes next to HSL colors in `globals.css`
📝 Summary
File: globals.css after doing shadcn-ui init
❓ Why
- VS Code doesn't show any color previews (when using HSL colors in CSS files by default)
- This would be much easier for Tailwind devs to quickly know that
*random HSL value*is just Tailwind'sred-700 - When you select
Slateas your base color duringshadcn-ui init, hopefully the comments could update toslate-950in CSS file
💫 Inspo
Installing tremor.so shows Tailwind color codes right next to colors for easy reference
The best part about this is that in colors.ts the color steps are documented, so that data could be used to generate the CSS file. Great graphics, very illustrative!
The best part about this is that in colors.ts the color steps are documented
Ahh that's perfect, didn't know that was there. That's pretty helpful!
Great graphics, very illustrative!
Thanks man, appreciate it :)
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.
Could I possibly work on this if this is something you'd like to implement?