Create A Dark/Light Mode Switch with CSS Variables
Giving your users a way to customise the interface to their preference is a huge win for user experience. In this post, Ananya Neogi shows us how to implement a simple switch to toggle between dark mode and light mode.