Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Is there a way to darken the icons on the toolbar (bookmarks, history, etc)?

  • 26 回覆
  • 0 有這個問題
  • 206 次檢視
  • 最近回覆由 T_H_M

When I installed Firefox, I struggled to find a theme that was easy for me to see. So many had dark borders/backgrounds or busy backgrounds or transparent. It appears that I'm using the default at present and am happy with everything but the visibility of those little icons. Is there is a way to make them darker? Thanks

When I installed Firefox, I struggled to find a theme that was easy for me to see. So many had dark borders/backgrounds or busy backgrounds or transparent. It appears that I'm using the default at present and am happy with everything but the visibility of those little icons. Is there is a way to make them darker? Thanks

被選擇的解決方法

FOUND IT!

The first line needs to be :root not root.

That's my fault entirely as I must have failed to pick it up when I cut and pasted Cor-el's code before adding my line to it. Sincere apologies.

從原來的回覆中察看解決方案 👍 1

所有回覆 (6)

The problem is that you used :root at the start of the line, you need to add a leading space to prevent the forum from interpreting the leading ':' as markup code.

Thanks, Cor-el. I wondered subsequently if that may have been it. I'm still learning the markup here and have got that chart bookmarked. I'll know in future to do it as :.

You can use <nowiki>...</nowiki> or <pre><nowiki>...</nowiki></pre> like I normally use instead of <code>...</code> to prevent issues with code you post.

  • <nowiki>:root</nowiki>

cor-el said

You can use <nowiki>...</nowiki> or <pre><nowiki>...</nowiki></pre> like I normally use instead of <code>...</code> to prevent issues with code you post.
  • <nowiki>:root</nowiki>

Is there any potential that this change would improve the outcome? My guess is this is more a conversation with @thepillenwerfer. Attached is a screen shot comparing icons in gmail with Firefox, even with the Chrome improvement.

What I wrote above is about posting the CSS code in this forum correctly, you do not need to change your code in userChrome.css . If you are uncomfortable with the white background then you can leave out the --toolbar-bgcolor line or adjust its property value, defining this variable under 'root' means that this is applied globally.

cor-el said

What I wrote above is about posting the CSS code in this forum correctly, you do not need to change your code in userChrome.css . If you are uncomfortable with the white background then you can leave out the --toolbar-bgcolor line or adjust its property value, defining this variable under 'root' means that this is applied globally.

No, the contrast helps. Thanks again!

  1. 1
  2. 2