© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
9 replies
cheesegrits

Detect dark theme in Blade

How do I detect if dark theme is enabled in a Blade template, so I can display a different version of an image? I'm overriding Filament's logo.blade.php to show the client's logo top left, but need to display different versions depending on dark or light theme.
Solution
Oooooh! You mean like do it how it tells me to in the documentation?

Derp.

sigh

https://filamentphp.com/docs/2.x/admin/appearance#dark-mode
Filament
Appearance - Admin Panel - Filament
The elegant TALL stack admin panel for Laravel artisans.
Appearance - Admin Panel - Filament
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

pagination select option in dark theme
FilamentFFilament / ❓┊help
3y ago
Change Dark Theme Colors
FilamentFFilament / ❓┊help
3y ago
filament theme dark mode
FilamentFFilament / ❓┊help
3y ago
Customizing the dark mode theme?
FilamentFFilament / ❓┊help
3y ago