F
Filament7mo 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
awcodes7mo ago
Did you add @filamentStyles to your non panel layout?
Nathan
NathanOP7mo ago
@awcodes yes, i did
awcodes
awcodes7mo ago
If you followed all the steps on that page the. It should be working correctly.
Want results from more Discord servers?
Add your server