Button

i upgrade to v3 now my button are not visible but its working
17 Replies
Dennis Koch
Dennis Koch2y ago
Do you use a custom theme? Custom colors? Did you rebuild build those assets? Ran artisan filament:upgrade?
GHOST-117
GHOST-117OP2y ago
yes i have created php artisan make:filament-theme and i have a scss file
Dennis Koch
Dennis Koch2y ago
Did you compile your theme npm run build?
GHOST-117
GHOST-117OP2y ago
yes
GHOST-117
GHOST-117OP2y ago
see
Dennis Koch
Dennis Koch2y ago
Does it work if you remove colors() from the panel config?
GHOST-117
GHOST-117OP2y ago
nope
GHOST-117
GHOST-117OP2y ago
Dennis Koch
Dennis Koch2y ago
Then something with your theme seems wrong
GHOST-117
GHOST-117OP2y ago
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
GHOST-117
GHOST-117OP2y ago
now i have commented the viteThem its working
Dennis Koch
Dennis Koch2y ago
You should try with the theme created by CLI and only then readd your customizations
GHOST-117
GHOST-117OP2y ago
GHOST-117
GHOST-117OP2y ago
got it
buhbailey
buhbailey10mo ago
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.
GHOST-117
GHOST-117OP9mo ago
check ur Vite.config.js
GHOST-117
GHOST-117OP9mo ago

Did you find this page helpful?