rugk / website-dark-mode-switcher

This is a (Firefox) add-on (WebExtension) that lets you invert the website's color scheme by inverting/changing the prefers-color-scheme media feature of CSS.
https://addons.mozilla.org/firefox/addon/dark-mode-website-switcher/?src=external-github-top
Other
58 stars 4 forks source link

Implement new WebExtension API modifying about:config #41

Closed rugk closed 2 years ago

rugk commented 2 years ago

The new API can modify the browser settings via about:config i.e. overrideContentColorScheme, which basically is exactly the API to make this add-on work properly.

Fixes https://github.com/rugk/website-dark-mode-switcher/issues/5

todo[bot] commented 2 years ago

implement optional syncing!

https://github.com/rugk/website-dark-mode-switcher/blob/770175c1425cc659d2ee6bbdcf20f41674b62e7e/src/common/modules/DarkModeLogic.js#L41-L46


This comment was generated by todo based on a TODO comment in 770175c1425cc659d2ee6bbdcf20f41674b62e7e in #41. cc @rugk.
rugk commented 2 years ago

Release-Test done