How to replace pre-compiled tailwind css file?
I will share all tailwindcss configurations within the application.
Currently some extra css in the filament panel doesn't work properly.
My vite css registered through renderhook is not overriding the styles correctly.
Just like .grid gets defined many times.
6 Replies
I'm not sure this is a solution to dynamically injecting vite styles
For your custom Tailwind file, follow the instructions to create a theme.
What about the js part?
Is it injected via hook?
What JS part? You mean the Vite server? It's handled by the theme as well
I see what you mean, I thought only strings were supported, checking the function signature supports passing arrays.
I don’t know what you mean by passing an array. I’m still talking about creating a theme if you want to change Filaments tailwind styles