Branden | Astro UI Specialist @webreaper.dev · Jan 12

Creating themeable variables in Tailwind CSS v4 is a little tricky, as there's a secret keyword you need. When creating your theme section, add the "inline" option. This tells Tailwind to use the raw theme values instead of the generated variables. In other words. It now works as you expect it to

1 likes 0 replies

?