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
FireShot_Capture_135_-_Father_Details_-_Madathattuvilai_Church_-_localhost.png
FireShot_Capture_136_-_Father_Details_-_Madathattuvilai_Church_-_localhost.png
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
Was this page helpful?