Open Bug 1414196 Opened 7 years ago Updated 2 years ago

Allow WebExtensions to register new devtools themes

Categories

(WebExtensions :: Developer Tools, enhancement, P5)

enhancement

Tracking

(firefox57 wontfix)

Tracking Status
firefox57 --- wontfix

People

(Reporter: ntim, Unassigned)

Details

(Whiteboard: [design-decision-approved])

Those themes would be able to override the built-in DevTools CSS variables.

Perhaps a "devtools_theme" manifest field with some properties could work.
Should it also be dynamic and have the resulting APIs and events? Maybe this one should be bounced to design-decision-needed.
Blocks: themingapi
Severity: normal → enhancement
Priority: -- → P5
Whiteboard: [design-decision-needed]
I feel like this should be separate from the theming API (even though it is theming related).

DevTools themes only appear in the devtools settings, while browser themes appear in the add-ons manager. The proposed API (the devtools_theme manifest field), would add a new theme option to the devtools settings.

Also, I don't think it makes sense to support dynamic updates for devtools, I'm not sure many devs will find that useful (if not annoying).

As for events, we can integrate with the existing "onThemeChanged" event emitted on the devtools namespace.
No longer blocks: themingapi
Hi Tim, this has been added to the agenda for the November 14 WebExtensions APIs triage meeting. Would you be able to join us? 

Here’s a quick overview of what to expect at the triage: 

* We normally spend 5 minutes per bug
* The more information in the bug, the better
* The goal of the triage is to give a general thumbs up or thumbs down on a proposal; we won't be going deep into implementation details

Relevant Links: 

* Wiki for the meeting: https://wiki.mozilla.org/Add-ons/Contribute/Triage
* Meeting agenda: https://docs.google.com/document/d/1g3RMfKZ3671NcusMqkoOiKwfPekRe-VI7Rzqxo6F_Ao/edit#
* Vision doc for WebExtensions: https://wiki.mozilla.org/WebExtensions/Vision
Whiteboard: [design-decision-needed] → [design-decision-approved]
Assignee: nobody → ntim.bugs
Unassigning to reflect real status.
Assignee: ntim.bugs → nobody
Product: Toolkit → WebExtensions
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.