RE: https://mastodon.social/@webstandards_dev/117054222703928252
This article by @leaverou not only proposes a new best practice for this particular UI feature (a light/dark mode toggle for websites), it also sets out a nice example of how to approach UX decisions.
By *complicating* the internal logic, to factor in the interactions between the user's system-wide light/dark preferences and their preferences for this particular website, Lea was able to *simplify* the user interface down to a single switch-mode toggle, while still supporting an "unset" option.