In this article, we’ll look at how to implement light mode and dark mode in a Tailwind CSS project—without sprinkling dark: modifiers on every single class. Instead of writing things like: <div class="bg-white text-black dark:bg-black dark:text-white...

Markdown supported · ⌘↵ to post
No responses yet.