Open Bug 1416871 Opened 7 years ago Updated 2 years ago

API to change theme_icons for browser_actions

Categories

(WebExtensions :: General, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: freaktechnik, Unassigned)

References

Details

There is currently no way for extensions to change theme_icons dynamically. All they can do is provide a set of theme_icons in the manifest and then have to rely on the badge if they want to convey different messages on their browser_action.
Severity: normal → enhancement
Priority: -- → P5
I'd really like to see theme_icons go away because its a rabbit hole of requests like this (and don't mention context menu icons, page icons or sidebar icons) and rely on SVG icons, but until we can use SVG in a way that reacts to the theme I understand we don't have many choices.
Product: Toolkit → WebExtensions
Component: Untriaged → General

BTW backlink to the Discourse discussion about this whole thing with links to other related Bugzilla issues: https://discourse.mozilla.org/t/how-to-correctly-design-color-icon-to-be-visible-across-themes/27713?u=rugkx

See Also: → 1714852
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.