F
Filamentβ€’5mo ago
Sector

Can I change the error message color somehow?

No description
6 Replies
LeandroFerreira
LeandroFerreiraβ€’5mo 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
SectorOPβ€’5mo ago
Thanks, another question, there is a way to change the Login button? Hide it or something?
LeandroFerreira
LeandroFerreiraβ€’5mo 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
SectorOPβ€’5mo ago
Many thanks! πŸ™‚ Dear @Leandro Ferreira , is it possible to change a component behaviour somehow? To write some javascript myself? πŸ™‚
LeandroFerreira
LeandroFerreiraβ€’5mo 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