Adding dark mode to your React app with hooks, media queries and CSS variables
Dark mode is quickly becoming an essential feature on the web — here I walk through a simple approach for adding a dark theme to an existing React website, using hooks, CSS variables, SASS mixins and more.
Tags: darkmode, react, hooks, sass