DEV Community

Discussion on: [Update] Using Svelte with Tailwindcss - A better approach

 
sarioglu profile image
sarioglu

I'm afraid it is a limitation of tailwindcss. It cannot @apply variants directly. You can use it directly or find a workaround at tailwindcss.com/docs/functions-and...

Thread Thread
 
mikenikles profile image
Mike

Thank you, that helped fix the issue. @screen and regular Tailwind utility classes works as documented.