How we made: A Dark Mode + Mode Changer to our chat
Recently we’ve been working on my chat, and we’ve recently added a dark mode, plus a changer. This is how we created it.
First, you have a small section of HTML which creates two icons, and a container for them.
Finally, the CSS to work with it. When styling every element for each theme, just put a selector for the body before it. An example can be seen below: