You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it appears that the <meta name=color-scheme> element has no effect on the (prefers-color-scheme) MQ. This seems unfortunate; setting <meta name=color-scheme content=dark>does switch the default colors on the page to darkmode, but the styles still match (prefers-color-scheme: light), resulting in inconsistent behavior.
It does appear that this is an oversight between Color Adjust, MQ, and the HTML spec. Currently the meta element affects the "supported color schemes", which is then used solely by the color-schemeproperty to restrict what values it can be set to.
Am I wrong in thinking that it should indeed also affect the MQ, in the same way?
The text was updated successfully, but these errors were encountered:
Currently, it appears that the
<meta name=color-scheme>
element has no effect on the(prefers-color-scheme)
MQ. This seems unfortunate; setting<meta name=color-scheme content=dark>
does switch the default colors on the page to darkmode, but the styles still match(prefers-color-scheme: light)
, resulting in inconsistent behavior.It does appear that this is an oversight between Color Adjust, MQ, and the HTML spec. Currently the
meta
element affects the "supported color schemes", which is then used solely by thecolor-scheme
property to restrict what values it can be set to.Am I wrong in thinking that it should indeed also affect the MQ, in the same way?
The text was updated successfully, but these errors were encountered: