Closed McManning closed 1 year ago
To clean up how we deal with Tailwind classes and component variants, might want something a little more robust than what I'm currently doing (classnames/clsx and toggling class chunks based on states + variants combinations).
Looks like CVA is a popular choice for something like this: https://cva.style/docs/getting-started
Obsolete in beta.1
To clean up how we deal with Tailwind classes and component variants, might want something a little more robust than what I'm currently doing (classnames/clsx and toggling class chunks based on states + variants combinations).
Looks like CVA is a popular choice for something like this: https://cva.style/docs/getting-started