Dark mode not working

Hi again. After composer update I noticed that the dark theme on the site(in admin panel worked fine) stopped working. In
tailwind.config.js
tailwind.config.js
darkMode is
darkMode: 'class'
darkMode: 'class'
, + in app.layout
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class=" dark bg-gray-800 font-sans">
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class=" dark bg-gray-800 font-sans">
. I noticed that if you remove or comment out the line with
presets: [preset]
presets: [preset]
in
tailwind.config.js
tailwind.config.js
, then everything seems to start working correctly. But I don't think this is the right approach. Has anyone encountered this?
1 Reply
mar5hall
mar5hallOP14mo ago
Looks like this is my mistake. When installing the filament panel, you do not need to import a preset. I just installed only forms before, and it seems I forgot to remove the preset.
Want results from more Discord servers?
Add your server