I’ve had a lot of feedback in the past about adding a dark mode to this website. I always resisted doing this, as I wanted my theme just how I designed it – to be a first class citizen.
The New Solution
I’ve decided to re-implement this feature in CSS using the
prefers-color-scheme property. I have removed the toggle and got rid of the JS that changed the theme.
If you’re using a dark theme on your operating system, my website should now respect that setting and render the dark version of this website.
When I get a chance, I will write a guide on how to implement the
prefers-color-scheme property so you can implement this on your website too.