Filament Preset breaks system theme following
When I set the preset in my tailwind.config.js file:
It enables the colors (danger, success, etc.) to work, however it stops following the theme of my system. If I remove the preset line, the theme following works properly.
How can I keep the system theme following feature with preset enabled?
Solution:Jump to solution
Fixed by setting darkMode: 'media', flag in a custom preset definition that extends the filament default
1 Reply
Solution
Fixed by setting darkMode: 'media', flag in a custom preset definition that extends the filament default