Disable dark mode on Tables
I'm using a table component in a livewire component. Is there a way to disable dark mode for the table? Panels have darkMode(false) but none of the other components have that method.
Solution:Jump to solution
I figured it out by rereading the Tailwind docs. You just need to add 'dark mode: 'class'' to tailwind.config.js
2 Replies
Solution
I figured it out by rereading the Tailwind docs. You just need to add 'dark mode: 'class'' to tailwind.config.js
Update: the real problem was that I didn't add "presets: [preset]" to my tailwind.config.js file per the documentation.