Part 3: Checking it in the browser
Dark mode is a second theme, not an inverted filter. Every colour pair got a contrast check in both modes before we shipped it.
CSS is not a programming language you fight; it is a set of defaults you negotiate with.
Priya Nair, in a code review