tailwindcss-hero-patterns
tailwindcss-hero-patterns copied to clipboard
Custom theme colors using HSL?
I have a theme switcher and define my colors using CSS variables and the HSL color model. How would I generate classes to support those colors?
+1
I think the core problem are CSS vars as they are not accessible inside a background image src
<path fill="var(--color-primary-500)" ... />