17 Replies
Do you use a custom theme? Custom colors? Did you rebuild build those assets? Ran
artisan filament:upgrade
?yes i have created
php artisan make:filament-theme
and i have a scss file
Did you compile your theme
npm run build
?yes
see
Does it work if you remove
colors()
from the panel config?nope
Then something with your theme seems wrong
i have tons of customisation in v2 now i have switched to v3 and i imported the same scss file
i think its overwriting them
now i have commented the viteThem its working
You should try with the theme created by CLI and only then readd your customizations
got it
how did you solve this issue? Having the same problem. All filament colors, buttons, are lost when using a custom theme. all other css works, however, like the forms.css. the custom theme.css appears in the page headers with the forms.css and some other css, however, the app.css from filament does not. It looks like the same issue you were having. The buttons, although invisible are there and they work. the layout is fine, etc. just the colors and buttons, it appears.
check ur Vite.config.js
and remove all tailwind config that u have used &
try to reinstall all of that
https://filamentphp.com/docs/3.x/notifications/installation#installing-tailwind-css