Open Bug 1809958 Opened 2 years ago Updated 2 years ago

Allow extensions to specify a different icon for dark themes

Categories

(WebExtensions :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: gregp, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [wecg][design-decision-approved][addons-jira])

Attachments

(1 file)

Attached image light_and_dark.png (deleted) —

As far as I know, the Unified Extensions Button is the first themed panel to make prominent use of icons. Unfortunately, many extensions fail to provide icons that will have ideal contrast in both light and dark themes. To remedy this problem, I propose that we add something like a dark_icons key to manifest.json

Extensions with a custom button can already specify theme_icons (introduced in bug 1329242).
There is not a way to specify an icon for dark themes, but a standardized way to do that would be welcome.

FWIW, there is a discussion on customizing the icons for dark themes at https://github.com/w3c/webextensions/issues/229 .
The discussion seems to have been narrowed towards extension action button icons instead of the extension icon itself, but I wouldn't mind revisiting the discussion to cover extension icons in general.

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [wecg] → [wecg][design-decision-needed]
Whiteboard: [wecg][design-decision-needed] → [wecg][design-decision-approved][addons-jira]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: