tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

I don't understand, do we still use tailwind.css for custom code?

Open ZackPlauche opened this issue 4 months ago • 1 comments

I know we upgraded to Tailwind 4, but your docs still show the Tailwind 3 config.

What do we do now? I know to use @import "tailwindcss" and we can set them in the theme in a css file, but do we use tailwind.css still or do we switch to main.css? It's not detecting my assets/css/tailwind.css file anymore for some reason.

Do I need to add the tailwind.config.js still with your setup or is it handled by default? Please help me understand if I'm missing something in the configuration.

ZackPlauche avatar Oct 23 '25 12:10 ZackPlauche

Hi, thanks for opening an issue and please accept my apologies for responding late.

You should still be able to use assets/css/tailwind.css in your project - would you be able to elaborate on why you think it is not being detected by the module (7.0.0-beta)?

tailwind.config.js is not required and is considered legacy in Tailwind v4; if you wish to use it, you can use the @config directive in your custom CSS file. Let me know if you are able to demonstrate the project structure - sorry about lacking documentation on v7 so far!!

ineshbose avatar Nov 11 '25 16:11 ineshbose