Switch to Dark Mode using Only CSS variables
The easiest way to implement dark mode in your website or portfolio apps is by using CSS variables. In my portfolio app I relied on CSS variables to switch between dark & light mode. I implemented this using SCSS as a commonStyle library for my pers...
Sep 19, 20222 min read158



![[Part 1] - Build & Publish React component as NPM package using Typescript compiler](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1680502323468%2Fb83337d6-0fd5-4d4e-90a1-5176f094293d.png&w=3840&q=75)