© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Merlijn01

Dark background color

Hi,

I'm trying to make my first filament panels application. I would like to set the background to something dark (black or dark gray, like the dark mode).
I've tried to set the colors in the AdminPanelProvider, but I don't believe there is a "backgroundColor" attribute. I believe that the problem is that it should be dark in the main mode (light mode I guess).

Are there any solutions for this ?
Thanks in advance !

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->default()
            ->id('admin')
            ->path('admin')
            ->login()
            ->colors([
                'primary' => '#1662AD',
            ]);
    }
}
class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            ->default()
            ->id('admin')
            ->path('admin')
            ->login()
            ->colors([
                'primary' => '#1662AD',
            ]);
    }
}


https://filamentphp.com/docs/3.x/panels/themes
Themes - Panel Builder - Filament
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Background Cell Color?
FilamentFFilament / ❓┊help
12mo ago
Navigation background color
FilamentFFilament / ❓┊help
2y ago
change background color
FilamentFFilament / ❓┊help
3y ago
Change background color
FilamentFFilament / ❓┊help
3y ago