F
Filamentβ€’5d ago
Sector

Can I change the error message color somehow?

No description
6 Replies
LeandroFerreira
LeandroFerreiraβ€’5d ago
Filament uses danger to the error messages. You can also customize this color in your panel https://filamentphp.com/docs/3.x/support/colors#customizing-the-default-colors
$panel
->colors([
'primary' => Color::Amber,
'danger' => Color::hex('#ff0000'),
])
$panel
->colors([
'primary' => Color::Amber,
'danger' => Color::hex('#ff0000'),
])
Sector
Sectorβ€’5d ago
Thanks, another question, there is a way to change the Login button? Hide it or something?
LeandroFerreira
LeandroFerreiraβ€’5d ago
Yes, create your login class extending the default login and add in your panel
$panel->login(CustomLogin::class)
$panel->login(CustomLogin::class)
Override what you need
Sector
Sectorβ€’4d ago
Many thanks! πŸ™‚ Dear @Leandro Ferreira , is it possible to change a component behaviour somehow? To write some javascript myself? πŸ™‚
LeandroFerreira
LeandroFerreiraβ€’4d ago
maybe you can open a new topic describing what you need and sharing some code
Want results from more Discord servers?
Add your server
More Posts