Dashboard Theme

Here is the how you can change color mode between dark/light mode in Tailwind:

Steps are given bellow:

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

<body class="bg-white dark:bg-black"></body>

For Light Mode

<body class="bg-white"></body>