NuxtN
Nuxt8mo ago
3 replies
Omnislash

UI3 & Tailwind v4 Safelisting

Hello Kapa,

I would like to use this syntax in may .css available in Tailwind v4 to use the safelist system :
@source inline("{dark:,}bg-secondary-{50,{100...900...100},950}")

But I have this error :
ERROR Pre-transform error: @source cannot have a body. 3:51:42 PM
Plugin: @tailwindcss/vite:generate:serve
File: D:/Projects/hotpot/app/assets/css/tailwind.css
Was this page helpful?