3 ms·
No, it's not. If it were gray then it would be already opinionated. Why #eee, why not #e9e9e9 or #fefefe or how about #c9c9c9? That doesn't make much sense and
by tiborsaas 7y ago
No, it's not. If it were gray then it would be already opinionated. Why #eee, why not #e9e9e9 or #fefefe or how about #c9c9c9? That doesn't make much sense and it's hard to settle on a color or should it be Tim Berners Lee average hair color? :)
So what remains is either black or white. White seems to be a more rational pick.
- noisem4ker 7y agoThe system theme should reflect the user's opinion (or at least their learned expectation), thus browsers should honor the system theme.
- tiborsaas 7y agoI disagree, it's a question of authoring freedom. We have a fairly recent "prefers-color-scheme: dark" media query for this which further proves my point, that it's either black or white by default. If you, the author of the page decide to respect it then it's fine, but I'd be a bit mad if the browser decided to override my page design to an arbitrary grey shade if I don't declare a background color for the body.
- zozbot234 7y agoThe prefers-color-scheme media query can return any of 'light', 'dark' or 'no-preference' (the default). There's no real default for "light" design except as may be provided by the page author, or perhaps by the user herself via setting such a preference.