This is why prefers-color-scheme is the perfect mechanism for this. Simply swap out your CSS variables and automatically your site is immediately more accessible to people who prefer dark mode.
This is why prefers-color-scheme is the perfect mechanism for this. Simply swap out your CSS variables and automatically your site is immediately more accessible to people who prefer dark mode.
But, as a site owner it's my prerogative on the decisions I make regarding design. It's not always about choice :)
It's like saying discussions about whether cigarettes are good or bad for you are pointless, the important thing is that people are able to buy them if they want.
In fact, research like that i call bullshit, its like 'research' food, 'scientists' found out that that people prefer yellow carrots because red is a warning color.
Your comparison to the cigarette discussion is an interesting point. The article didn't present anything particularly strong in regards to studies around this though so I'm unsure what there is to discuss, aside from speculation on whats good and bad for our eyes. If we're speculating I'd wager regular breaks and getting away from your screen as much as possible is far more impactful that which color scheme you choose.
This is the reason why I use dark mode now. Eye strain and saving battery I don't think about. Easier to read? Sure, because it's my preference. I even use lights behind my monitors to counteract the "flash" you get when you switch from a dark IDE to a white web browser. I don't like complete _darkness_, I just like the look.