Custom component load form with dark theme
Hi, everyone. I've created a new Livewire component and added a form to it, but the problem is that the form is displayed in dark mode (according to the device settings), and I want it to always be in light mode
5 Replies
Can someone give me an idea, please?
Are you using the panel builder?
https://filamentphp.com/docs/3.x/panels/themes#disabling-dark-mode
No, the component is outside of filament panel. I've managed to solve it, thank you
how did you solve it>
darkMode:'class',
I've put this in tailwind.config.js