© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
15 replies
benshawuk

Jetstream and dark mode

Hi, I'm trying to enable tailwind to respect the FilamentPHP dark/light mode settings instead of the OSes. But when I add this to the tailwind.config.js:
module.exports = {
darkMode: 'class',
// ...
}
It seems to lose the rest of the tailwind styling for the Jetstream components.
Do I need to be adding something else into the module.exports block to get this working as normal?
Or am I missing something?
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

Filament Table Dark Mode with Jetstream and tailwinds dark mode changing using javascript.
FilamentFFilament / ❓┊help
3y ago
dark mode
FilamentFFilament / ❓┊help
5mo ago
Dark-mode/Light-mode
FilamentFFilament / ❓┊help
3y ago
Dark mode help
FilamentFFilament / ❓┊help
4w ago