New Light Theme issue for Notifications
In filament 3.2.132, i am setting notification like this
public function success(string $title = 'Success', string $body = '', string $icon = 'heroicon-o-check-circle', int|string|null $duration = null, array|ActionGroup|Closure $actions = []): Notification
{
$duration = $duration ?? $this->duration;
return Notification::make()
->title($title)
->body($body)
->success()
->color('success')
->icon($icon)
->iconColor('success')
->duration($duration)
->actions($actions)
->send();
}
in Create Action:
Actions\CreateAction::make()->successNotification(fn () => Toast::success(title: 'Success')),
in dark mode its fine but in light theme it doesn't look good
public function success(string $title = 'Success', string $body = '', string $icon = 'heroicon-o-check-circle', int|string|null $duration = null, array|ActionGroup|Closure $actions = []): Notification
{
$duration = $duration ?? $this->duration;
return Notification::make()
->title($title)
->body($body)
->success()
->color('success')
->icon($icon)
->iconColor('success')
->duration($duration)
->actions($actions)
->send();
}
in Create Action:
Actions\CreateAction::make()->successNotification(fn () => Toast::success(title: 'Success')),
in dark mode its fine but in light theme it doesn't look good


Solution
finally i found where i made a mistake, sorry for wasting your time and thanks for your cooperation. Actually i overload the filament app.css using PanelsRenderHook::HEAD_END with the default resources/css/app.css