© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•10mo ago•
4 replies
Mack H

Resolve Tenant before panel

I'm pretty sure it's a bust, but asking cause. AI doesn't know the answer and neither do I.

            ->colors(function () {
                $tenant = Filament::getTenant();
                if (!$tenant) {
                    return [];
                }
                $configService = app(ConfigService::class);
                $themeService = new ThemeService($tenant, $configService);
                return $themeService->getFilamentColors();
            })
            ->colors(function () {
                $tenant = Filament::getTenant();
                if (!$tenant) {
                    return [];
                }
                $configService = app(ConfigService::class);
                $themeService = new ThemeService($tenant, $configService);
                return $themeService->getFilamentColors();
            })
Solution
Hi @Mack H I made a article about this : https://filamentmastery.com/articles/branding-in-filament-multi-tenant-customize-logo-colors
Filament Mastery
Branding in Filament multi-tenant: Customize logo & colors - Filame...
Learn how to dynamically set logos and colors in a Filament multi-tenancy panel. Customize branding per tenant using middleware and database configurations.
Branding in Filament multi-tenant: Customize logo & colors - Filame...
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

Multi tenant navigation panel?
FilamentFFilament / ❓┊help
2y ago
Tenant panel gives 404
FilamentFFilament / ❓┊help
3y ago
emailVerification with Tenant panel problem.
FilamentFFilament / ❓┊help
2y ago
User profile on tenant panel
FilamentFFilament / ❓┊help
2y ago