Live data from Hacker News

Dark mode in a website with CSS

tombrow.com

1–10 of 191 posts

Re: Dark mode in a website with CSS

#5
I’m probably not representative of the general dark mode user, I think, but I enable dark mode because I want the UI chrome out of the way to concentrate on the content. I don’t want dark content. Is there a way to disable this media query?

Re: Dark mode in a website with CSS

#7
> Photographs also looked harsh. It turns out that many people prefer images, too, to be desaturated in dark mode

This is an interesting choice. While it might be easier on the eyes, personally it feels kind of icky to change colors on images…

Re: Dark mode in a website with CSS

#9
post #4

I did this recently for my new personal website! It's quite easy and really satisfying. I love doing as much as possible in stateless CSS instead of JavaScript. http://www.brandonsmith.ninja/

I've been using it for a few months on my personal site as well.

It defaults to the light version and then switches to the dark them on request.

This is so people who don't care or aren't good with computers get the light version and those that can set the system theme have the option of getting the dark version.

https://thomasryan.xyz/

Post reply on HN