This repository coincides with a walkthrough available to read on Medium here.
Dark mode is becoming more commonly supported in apps, both on the web and natively.
React is in a great position to support such a feature, by leveraging features and packages readily available to be used with the framework. Toggling between a dark and light mode can be achieved very elegantly and modularly, as this repository demonstrates.