F
Filament2mo ago
Nathan

Changing colours on standalone Form Builder without Panels

How can i change the default colours when using filament forms without panels. I tried adding this to the boot method of service provider, but nothing changes:
public function boot(): void
{
FilamentColor::register([
'danger' => Color::Red,
'gray' => Color::Zinc,
'info' => Color::Blue,
'primary' => Color::Fuchsia,
'success' => Color::Green,
'warning' => Color::Amber,
]);
}
public function boot(): void
{
FilamentColor::register([
'danger' => Color::Red,
'gray' => Color::Zinc,
'info' => Color::Blue,
'primary' => Color::Fuchsia,
'success' => Color::Green,
'warning' => Color::Amber,
]);
}
4 Replies
awcodes
awcodes2mo ago
Did you add @filamentStyles to your non panel layout?
Nathan
Nathan2mo ago
@awcodes yes, i did
awcodes
awcodes2mo ago
If you followed all the steps on that page the. It should be working correctly.