Dashboard Theme
how you can change color mode between dark/light mode in Tailwind:
If you want to support toggling dark mode manually instead of relying on the operating system preference, use the 'class'
module.exports =
{
darkMode: 'class',
}
For Dark mode
For Light mode
<body class="bg-white dark:bg-black"></body>
<body class="bg-white"></body>