© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
4 replies
Matthew

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.
image.png
image.png
Solution
Just realised why this was my fault, and not something happening in filament, thanks for suggestion anyway!"
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Custom theme - I want default styling of filamentphp in my custom theme too.
FilamentFFilament / ❓┊help
3y ago
custom theme
FilamentFFilament / ❓┊help
2y ago
CUSTOM PAGE STYLING
FilamentFFilament / ❓┊help
14mo ago
Custom Styling Panel
FilamentFFilament / ❓┊help
15mo ago