cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fireQ
Strollin' around
Status: New idea

Hi,

I recently started developing a Firefox extension that uses the sidebar, and I have encountered a small issue: sidebar extensions have very limited control over how their icons appear across different Firefox themes.

The sidebar icon can be added using the sidebar_action/default_icon manifest property, but it only supports a static icon. And This creates problems for extensions that use simple black or white icons.

For example:

  • A white icon can become invisible on light Firefox themes.

  • A black icon can become invisible on dark Firefox themes.

  • Extension developers cannot provide separate icons for light and dark Firefox themes.

  • The existing theme_icons approach is not available for sidebar_action icons.

Firefox already supports theme-aware behavior in some areas, and it would be very useful if sidebar extensions could also define theme-specific icons.

A possible solution could be allowing sidebar_action icons to support light/dark variants, similar to other theme-aware features.

This would allow extension developers to create better-looking and more accessible sidebar extensions that adapt to Firefox themes, including custom themes where a single fixed icon color may not always be visible.

If you have experienced this issue while developing a extension, like/kudos this please

 

1 Comment
Status changed to: New idea
Jon
Community Manager
Community Manager

Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.