Missing filament primary color after version upgrade
Can someone help for my problem above?
My action buttons which are without color method is like transparent background.
For example, In attached image, there's actually a create button on the table header action.
I've already got primary color in $panel->colors().
I've tried this also:
https://filamentphp.com/docs/3.x/support/colors#customizing-the-default-colors
What should I do?
12 Replies
Can you share your Panel Provider Settings?
sure
IIRC you also need
'custom' => Color::Amber
Or not. can you run npm run build
to see it's working or not cause you've another theme as wellI've ran npm run build.
what else should I try?
Can you show us your resources/css/filament/admin.css
And resources/css/filament/tailwind.config.js
@awcodes
here's tailwind config
and i don't have admin.css in that path, how can i have that?
You’re using panels, right?
Either way you’re missing the filament preset in your tailwind.config.js.
Theming changed between v2 and v3
This could also affect any plugins you might be using.
yes i'm using panels..
how can i reset it?
Best to follow the theme instructions in the docs
thanks, eventually I reset my tailwind config to basic, and start from zero again to use plugins