🌙Dark Mode

The dark mode functionality in this theme allows users to switch between light and dark modes. The initial mode is set based on the user's system preferences. If the user manually changes the setting using the dark mode toggle, this setting will be stored in local storage and will persist across page reloads.

Tailwind CSS configuration snippet with dark mode set to 'class'
Tailwind.config.js snippet: Unleashing the elegance of dark mode with 'class' configuration

Last updated

Was this helpful?