WICG / web-preferences-api

The Web Preference API aims to provide a way for sites to override the value for a given user preference (e.g. color-scheme preference) in a way that fully integrates with existing Web APIs.
https://wicg.github.io/web-preferences-api/
Other
41 stars 2 forks source link

Some browsers offer a force dark mode, how does this play into that? #14

Open lukewarlow opened 1 year ago

lukewarlow commented 1 year ago

Chrome for example has a force dark mode where you can make sites that only offer light mode (and don't explicitly support "light only") render as dark mode.

Should this API setting a preference of light override force dark mode in a similar fashion?