Join Nostr
2025-04-11 20:46:52 UTC

Luke on Nostr: Mayank Making a new thread so it doesn't ping Adrian who wants a concrete resource ...


Making a new thread so it doesn't ping Adrian who wants a concrete resource for this. I would say that forced colours mode and prefers-contrast aren't actually as tightly coupled together as it might seem at first glance.

prefers-contrast works as a standalone media query with support on iOS, macOS, Android and some Linux distros. It just so happens to have two values that are only ever set as part of forced-colors mode.