Micro.blog

cdevroe
cdevroe
Supporting OS-level Dark Mode preference using only CSS cdevroe.com
mikehaynes
mikehaynes

@cdevroe Great timing on this one, Colin. @Gabz and I were just having a chat about dark themes in the MB Slack.

cdevroe
cdevroe

@mikehaynes @gabz 🙌

Gabz
Gabz

@cdevroe @mikehaynes and I was just reading this article on my Feedbin feed 😅

cdevroe
cdevroe

@Gabz @mikehaynes 🕺

In reply to
colinwalker
colinwalker

@cdevroe I've seen a few conversations about this over the past couple of days so couldn't resist adding it to my blog. It's a shame that it overrides my current JavaScript toggle but I'm sure I could get round that with a bit of thought.

cdevroe
cdevroe

@colinwalker You'd like to offer people that have OS-level Dark Mode on to be able to turn it off on your blog?

colinwalker
colinwalker

@cdevroe I think it's only fair 😉

cdevroe
cdevroe

@colinwalker I believe this can be done.