Is there a way to restyle <x-filament::button> and other filament components?

Hello! I want to restyle all of the filament components. How would I go about doing this? Should I publish the views?
2 Replies
Dennis Koch
Dennis Koch3mo ago
Should I publish the views?
No. Please don't do this. You can register a custom stylesheet (Theme) and override styles via CSS.
Bidenator
BidenatorOP3mo ago
Ahhh okay and in that style sheet I can override
<x-filament::button>
<x-filament::button>
with something like:
.fi-btn {
// Custom
}
.fi-btn {
// Custom
}
Want results from more Discord servers?
Add your server