Remove/customize default button classes

Hey everyone!

I've got a requirement to make the buttons look more like the corporate design of the client which looks quite different than the buttons currently look in filament. Is there a way to have existing classes for the button component (specified in the $buttonClasses variable inside of vendor/filament/support/resources/views/components/button/index.blade.php) removed?
I'd need to have them customized as there are a few classes that I can't remove as the extraAttributes() method only adds/merges classes but doesn't remove them.

Thank you very much!
Was this page helpful?