Filament color and layout issues after upgrading to v3
After upgrading to v3, Filament colors are not showing, and my layout looks kind of weird, like in the attached picture.
I removed all color references from
tailwind.config
, recompiled assets, cleared view cache.
Any help would be appreciated!9 Replies
Did you rebuild the assets?
Have you overridden any filament views?
Yes, I have rebuilt the assets, and I have not overridden any views.
What does your tailwind config look likke
You need to update you’re tailwind config to use the tailwind preset for v3 and make sure to register the css file in your panel. https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme
I don't need a custom theme, I am happy with the default one, just that it looks odd after upgrade. Still need to use a theme anyway?
if you have a tailwind.config.js then you are using a custom theme anyway. and the way colors are handled in v3 is different that v2. so you need to update your theme.
you are missing filament preset
it's in the docs