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

Interaction with Extension API #25

Open lukewarlow opened 9 months ago

lukewarlow commented 9 months ago

Need to decide on and call out how this interacts with extension APIs such as https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/browserSettings/overrideContentColorScheme (or any theoretical future one)

lukewarlow commented 9 months ago

I don't actually have answer off the top of my head to this one. My gut says the precedence should be OS < Browser < Site < Extension but needs discussion.