Dark mode with CSS variables

Posted on Sun 09 February 2020 in WebDev • Tagged with html/css, webdev

Dark mode is the hot schnitzel these days. Not wanting to be left behind, I recently updated my site to use a dark or light mode depending on your operating system preferences. Thanks to the magic of CSS media queries and CSS custom properties (otherwise known as CSS variables) this …


Continue reading