Closed Bug 1696230 Opened 4 years ago Closed 4 years ago

That addons can know your gtk/qt theme

Categories

(WebExtensions :: General, enhancement)

Firefox 85
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: toadfield, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

Steps to reproduce:

So what I mean is,that addons will know,what qt/gtk theme you use for firefox.
I did a dark reader feature request that I want to use my qt theme for the addon,but then the dev said,that the addon can't know my gtk/qt theme.
So it's a firefox problem.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Add-ons Manager' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Add-ons Manager
Product: Firefox → Toolkit

Extensions can detect the color scheme using the standard pregers-color-scheme media query, just like web pages: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

Anything more specific is not supported. Extensions that want to offer even more tighter integration in the OS can use the nativeMessaging API - https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging
This requires the user to install a separate application, so it may be easier to configure the colors manually.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Component: Add-ons Manager → General
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.