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-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?
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
metaelement affects the "supported color schemes", which is then used solely by thecolor-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?