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
DianaMujoiu
DianaMujoiuOP11mo ago
Can someone give me an idea, please?
DianaMujoiu
DianaMujoiuOP11mo ago
No, the component is outside of filament panel. I've managed to solve it, thank you
Remi Hindriks
Remi Hindriks10mo ago
how did you solve it>
DianaMujoiu
DianaMujoiuOP10mo ago
darkMode:'class', I've put this in tailwind.config.js

Did you find this page helpful?