Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting article, but why does it randomly switch from dark to light mode once you scroll past a certain point?


It changes when I scroll to the animations.

My guess is they implemented dark mode, then discovered some legacy posts have videos with transparent backgrounds. As a quick fix, they decided to disable dark mode anytime someone scrolls down to a video.

Seems like one of those compromises to solve an 11th-hour bug.


The contents of this article are pretty old, but the static website's design has been revamped (I believe several times) since then. My guess it that the two may have just fallen out of sync in such a way that this particular oddity manifests.


The videos have white backgrounds, maybe it's to match that and keep the page cleaner.


Haha getting flashbanged halfway through


Because it's cool


What is the meaning of life?


the guy behind a kabuki mask, stole my microbots


...and why does the switch point have a small hysteresis?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: