-
The
prefers-color-scheme
media query used to support three values:dark
🌒,light
☀️,no-preference
🤷♀️ Since almost everyone, me included, treatsno-preference
aslight
, the @csswg has just decided to removeno-preference
from the spec: github.com/mozilla/wg-decisions/issues/266. -
Users of
<dark-mode-toggle>
🌒 (github.com/GoogleChromeLabs/dark-mode-toggle) should update to v0.6.0, where theno-preference
logic has just been removed.