Tailwind colors doesn't work
Hi, I have a simple panel in Filament 3, and when I add some Custom Columns with Tailwind colours, it doesn't show them. Do you know what can it be?
Test HTML code:
5 Replies
You should add a custom theme
https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme
If you want to apply Tailwind CSS classes that are not already used in Blade files, you should update your content configuration in tailwind.config.js to also scan for classes inside your directory: './app/Filament/**/.php'*
Thanks but that not the issue. I think that the problem is that my default tailwind config is not loaded on /admin Filament panel
my default tailwind config is not loaded on /admin Filament panel
Sorry, what does it mean?
you need to apply a custom theme as per @Leandro Ferreira which includes tailwind inspection for your custom blade which contains that html.
Thanks!