One of the features on my new website is it now honors your browser’s color scheme preferences using the new
prefers-color-scheme media query. With more operating systems adopting dark modes, this is a nice new feature that I hope more website will implement.
I recognize that a responsive color scheme might not be for everyone at this point and not all browsers currently support this media query, so an override switch is also a good idea. Read on for how I implemented this feature.