[Tutorial] How To Use Themes with styled-components
Published:
I've been rewriting my website recently. And if you read my last blog post, you'll see why. One of the features I want to implement in my personal site 2.0 is a dark/light theme button. On click, it will switch the theme between light and dark. Pretty standard! For styling my site, I'm using styled-components. I'm a pretty big fan of CSS-in-JS. Can you tell? So here, I'm going to explain how to do…
Approx. 21 minutes to complete