How to detect if the User's OS prefers dark mode and change your site with CSS and JS

added by DotNetKicks
9/21/2021 12:59:22 AM

483 Views

I got a tweet from Stevö John who said he found my existing light theme for my blog to be jarring as he lives in Dark Mode. I had never really thought about it before, but once he said it, it was obvious.


0 comments