That addons can know your gtk/qt theme
Categories
(WebExtensions :: General, enhancement)
Tracking
(Not tracked)
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.
Comment 1•4 years ago
|
||
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.
Comment 2•4 years ago
|
||
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.
Updated•4 years ago
|
Description
•