Add the possibility to modify extensions.activeThemeID either as a WebExtension expirment, or under browser.theme

Hi!

I would love to automatically use either a light theme, or dark theme depending on the sunlight getting trough my window. the extension Zen Fox solves 90% of that, but I would love to specify which theme to use for light-mode, and which theme to use for dark mode :slight_smile:

I can list all available themes with the management permission, but I canโ€™t update activeThemeId anywhere. Could this be included?

If Iโ€™m wrong, I would love to hear how I can fix it! :smiley:

You can change the active theme using https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/management/setEnabled

2 Likes

Awesome! Thanks, I completley missed that!