tailwindcss-hero-patterns icon indicating copy to clipboard operation
tailwindcss-hero-patterns copied to clipboard

Custom theme colors using HSL?

Open SilverPaladin opened this issue 11 months ago • 2 comments

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?

SilverPaladin avatar Mar 03 '24 16:03 SilverPaladin

+1

atumas-bananamilk avatar Jul 02 '24 15:07 atumas-bananamilk

I think the core problem are CSS vars as they are not accessible inside a background image src

<path fill="var(--color-primary-500)" ... />

oemer-aran avatar Sep 09 '24 23:09 oemer-aran