Top
Best
New

Posted by paddingtone 8 hours ago

Safari introduces Adaptive Dark Mode in 27.3(webkit.org)
355 points | 199 commentspage 2
drnick1 5 hours ago|
Why are people now so obsessed with dark modes? 20 years ago it wasn't a thing at all and computers were just as usable, if not more in some regards. If you wanted a "dark mode" you switched to a tty.
sdf4j 5 hours ago|
Not true. Also 20 years ago we were still using 14” CRTs.
seanwilson 6 hours ago||
> When transforming text color, Adaptive Dark Mode aims for sufficient contrast as defined by the WCAG 4.5:1 contrast ratio.

The WCAG 2 contrast checker is known to be inaccurate, specifically for light on dark color combinations (i.e. dark mode) meaning 4.5:1 isn't always going to be easy to read so it's surprising they're not at least using a higher ratio. The APCA contrast checker (was being considered for WCAG 3) is more accurate at measuring readable contrast levels and the docs explain the problems with WCAG 2 more:

https://git.apcacontrast.com/documentation/APCAeasyIntro.htm...

jordand 7 hours ago||
I was looking through 'Dark Mode' browser plugins for viewing websites last week, and the options aren't great. The 'Dark Reader' plugin that's everywhere sends a lot of silent web requests in the background that seems strange given its mostly just CSS tweaks.
figmert 7 hours ago||
I'd be curious to know more about this. Dark Reader, at least on Firefox, is a recommended addon, which means it gets additional scrutiny by Mozilla. I do agree though that if it does additional web requests, it seems fishy. Do you have any details on where these requests go to or how you found them?
pamcake 7 hours ago||
You can inspect requests yourself by either:

- Checking "Enable remote debugging" and "Enable chrome and add-on debugging toolboxes" in devtools settings, opening Browser Toolbox (Ctrl+Shift+I), and looking at the "Network" tab

or

- Enable add-on debugging and inspect the addon from `about:debugging`

pamcake 4 hours ago||
Correction: C+A+S+I
DuncanCoffee 7 hours ago|||
I use stylus on firefox, you can search for styles or write them yourself. I often write dark mode for websites, I'm using a dark mode for hn right now. Also "large mode", it's ridiculous having websites on a 32" limited to 900 px
cluckindan 7 hours ago||
Bad: it’s tracking you

Worse: it’s attacking you

Worst: it’s attacking someone else as you

speedping 7 hours ago||
PSA: Noir is a safari extension that does exactly this and it’s fantastic. Miles better than Dark Reader on performance and refinement. Costs a few bucks but it’s one time and totally worth it.
PalmPilotProMax 5 hours ago|
>cost a few bucks

Sounds like the Noir dev is going to be the next victim of Apple's Sherlocking.

accidc 6 hours ago||
Does this also address the momentary flash of blinding white, often when pages transition/fail to render
drusepth 7 hours ago||
Really happy to see this. Users begged me to add dark mode to my sites for years and it's been nothing but a pain to support since adding it. If other browsers pick up something similar, I look forward to the day I can finally remove "manual" dark mode support and just leave it up to the browser.
pamcake 7 hours ago||
> I look forward to the day I can finally remove "manual" dark mode support and just leave it up to the browser.

Today it is!

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/V...

https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/A...

saagarjha 7 hours ago||
I guess if you truly don’t care about it sure, this is probably going to be an improvement, but if you are willing to invest even a bit of effort I strongly think you’d want to decide how your website looks like in dark mode.
drusepth 6 hours ago||
I'd estimate I've probably spent 100+ hours testing and fixing dark mode issues over the past 5-10 years. Investing "a little bit of effort" is how I got myself into the trap of doubling+ UI QA time to make sure everything _also_ looks good in dark mode (and also in dark mode across a matrix of other configurations) every time I want to ship anything new to users.

I know some people care about dark mode (and that's why I bit the bullet to add it), but I'd honestly much rather have spent all that time working on actual features.

efields 4 hours ago||
This is awesome because I like reasonable solutions that let me be lazy.

I'm sure there are designers that love dealing with two themes, and will do beautiful work within each theme.

But I'm really fine with letting the computer figure it out. CRM, back office tools, admin dashboards... many clients are approving one design and dark mode is an afterthought. Why can't the computer just... do it for me, and do a better than passable job at that.

hinkley 4 hours ago|
Modern CSS has some simpler mechanisms to deal with the light/dark dichotomy now. I translated a blog to support dark mode recently and it wasn't that difficult. The two sticking points were <code> and picking foreground colors that didn't blend in, and the github icon.

The other was Github's icon. But `filter: invert(1)` does a pretty decent job of handling that as long as the icons are black and white.

sivanmz 1 hour ago||
Why can’t HN provide a dark mode?
reader9274 7 hours ago|
Finally a fix for HN
kkotak 7 hours ago|
Please! I don't use Safari so this won't help me, but switching back to HN from other mostly dark themed sites hurts my eyes :(
More comments...