Closed Bug 1706799 Opened 3 years ago Closed 3 years ago

Extend browser.theme.getCurrent() for dark_theme

Categories

(WebExtensions :: Themes, enhancement)

Firefox 89
Desktop
Unspecified
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1542044

People

(Reporter: caitmuenster, Unassigned)

Details

Filing this bug per conversation on Slack, with regard to this post from an extension developer: https://discourse.mozilla.org/t/how-to-check-if-the-about-addons-page-is-light-or-dark-in-firefox-89/79012/2

Currently, browser.theme.getCurrent() does not take into account the dark_theme manifest field of themes. Extending this will help developers know if Firefox makes about:addons light or dark when a non-system theme is applied.

Component: Theme → Themes
Product: Firefox → WebExtensions
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.