come to the light side.
This blog had dark mode as the default color scheme, but I know how strong the opinions of developers are about dark and light mode. That’s why I wanted to implement a dark/light mode switch. Setting up dark mode in Tailwind The design of this blog was done with Tailwind. By default, this blog only has a dark mode. Luckily, adding a toggle is extremely easy with Tailwind. The first thing I did, was configuring Tailwind to use the class strategy instead of the media strategy....