Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to make Firefox colorize add-on icons like it does to built-in icons?

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

Hello. Is there a way to make Firefox colorize add-on icons (seen in gray here) like it does with the built-in ones?

When using the AlpenGlow theme, for instance, built-in icons are colorized while add-on icons are not (including official add-ons). See attached screenshot.

Is there a way to change this, or some workaround?

Hello. Is there a way to make Firefox colorize add-on icons (seen in gray here) like it does with the built-in ones? When using the AlpenGlow theme, for instance, built-in icons are colorized while add-on icons are not (including official add-ons). See attached screenshot. Is there a way to change this, or some workaround?
已附加屏幕截图

所有回复 (4)

more options

Can be changed via userChrome.css file

more options

Thank you. Is there a generic code I can use to tell Firefox to colorize all of them, or do I have to specifically and manually colorize each one?

more options

For background, extension authors can provide two theme-adaptive icons, one for a light theme and one for a dark theme. I guess Alpenglow uses the icons for dark themes.

I'm not sure how you would colorize those extension icons. If you don't get good leads here, try the following subreddit:

https://www.reddit.com/r/FirefoxCSS/

more options

It is up to the extension developer to supply (colored) icons. I have a lot of extensions that have colored icon, so if you do not have any colored icons then you might just be unlucky. There are extensions to have a gray icon when they aren't active and a colored icon when they are active. You can try the default theme to see if that makes colored icons appear in case you current theme isn't supported.