url styling with custom theme

I've added a custom theme and applied it to a specific panel. Without me adding any actual customisation, the action buttons that contain a url action like:
Notification::make()
->title('Saved successfully')
->body(implode(' ', $notifications))
->success()
->seconds(9)
->actions([
Action::make('ViewInvoice')
->label('View/Pay Invoice')
->button()
->url(route('filament.customer.financial.resources.invoice.view', ['record' => $invoiceBase->ib_unique]), shouldOpenInNewTab: false),

])
->send();
Notification::make()
->title('Saved successfully')
->body(implode(' ', $notifications))
->success()
->seconds(9)
->actions([
Action::make('ViewInvoice')
->label('View/Pay Invoice')
->button()
->url(route('filament.customer.financial.resources.invoice.view', ['record' => $invoiceBase->ib_unique]), shouldOpenInNewTab: false),

])
->send();
..have styled the colour in the button to hyperlink colours. Without custom theme: With custom theme: Any idea on how to prevent that? This is a noptification action, but noticed the same on table action. The CSS on the element is identical, so it is something happening much further up.
No description
No description
Solution:
Just realised why this was my fault, and not something happening in filament, thanks for suggestion anyway!"
Jump to solution
2 Replies
M hamdi
M hamdi2mo ago
You can use method link and remove method button Like this Action::make('ViewInvoice')->link()
Solution
Matthew
Matthew2mo ago
Just realised why this was my fault, and not something happening in filament, thanks for suggestion anyway!"
Want results from more Discord servers?
Add your server