jasonjasonk
How to override default Orange color in Form in livewire component when also using Panel Builder
ahhh for me/ anyone else searching the thread
probably other ways to do it, but this worked for me /is what I was looking for, as I have a very generic Filament v3 Panels setup, just using one form component in a livewire component:
In:
app/Providers/AppServiceProvider.php
v edit the public function boot(): void
{
/**
* Bootstrap any application services.
*/
public function boot(): void
{
//your other stuff...
FilamentColor::register([
'primary' => Color::Emerald,
]);
}
^ and import the classes as per the docs shared by @awcodes
Thank you!
5 replies