This week I started a new client project. I’m building a web application that’s sitting on top of an #opensource headless CMS (Directus if you’re interested). And because I wanted to try it, I built in a small light / dark mode switch in after working hours. It’s actually pretty easy to build this using only a hidden checkbox, some CSS and CSS variables.

read full post with comments