rNeomy / reader-view

Access Firefox's built in reader view from right click context menu
https://webextension.org/listing/chrome-reader-view.html
Mozilla Public License 2.0
482 stars 75 forks source link

[Feature] Adhere to the (system) theme provided by the browser. #115

Open RokeJulianLockhart opened 3 years ago

RokeJulianLockhart commented 3 years ago

https://gitlab.com/coolercontrol/coolercontrol/-/issues/163#note_1717297642 demonstrates that this is possible.

  1. https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/theme/getCurrent
  2. https://gist.githubusercontent.com/kulak-at/7e0532629d949bfdb7ec83280c1e08e5/raw/d3e7fe7bf8060632302ef0722c5be155a659de05/script.js from https://medium.com/hypersphere-codes/detecting-system-theme-in-javascript-css-react-f6b961916d48#:~:text=detecting%20theme%20in%20js