in reply to Re: Dark Mode for AM?
in thread Dark Mode for AM?

My knee jerk reaction was "Arrrrg, not more darkness on the face of the Earth".

You are not alone. Dark mode is, for me, more eyestrain and gives me a headache.

But being able to switch in the browser based on an OS preference sounds like a great suggestion to me, even though I'd never be affected by it.

Yeah, i'm fine with it, as long as it only affects users who explicitly set their browser to dark mode. The question here is: Is there a standard (RFC, W3C, ...?) or is this just something that a few browser vendors handwaved into existence for their own software? I hate to support vendor-specific extensions: They tend to break on short notice, they might only work on certain operating systems and they are generally a nightmare to support long term.

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

Replies are listed 'Best First'.
Re^3: Dark Mode for AM?
by haukex (Archbishop) on Oct 20, 2023 at 07:14 UTC
    Dark mode is, for me, more eyestrain and gives me a headache.

    Yes, this is true for some people, my rough understading is that as it causes pupils to dilate more, this can cause vision to blur more.

    The question here is: Is there a standard (RFC, W3C, ...?)

    See my link in the root node: It's part of the Media Queries Level 5 W3C draft spec and has been supported by all major browsers for the past ~3-4 years.

      Thanks. Either i'm getting older/slower or W3C is putting out more new specs than ever before. I just can't keep up these days.

      So, looks like this might become a standard one day, but so far is only "it would be nice if we could get vendors to agree to this"?

      But yeah, if it doesn't affect users that don't use dark mode, i'm OK with supporting this. (Though i'm most likely not the one implementing it. I'm way too inexperienced in the nitty-gritty of the Monastery internals to be screwing around in settings that can completely break everything.)

      PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
        So, looks like this might become a standard one day, but so far is only "it would be nice if we could get vendors to agree to this"?

        Well, I'd say experience shows that even if there are standards, not everyone will follow them ;-) So I'd say instead the fact that all major browsers have supported it for a few years shows there is probably enough consensus for at least this feature becoming part of the standard.