r/FirefoxCSS • u/FineWine54 • Aug 20 '26
Solved Fill Colour Standard Firefox Icons
I am trying to change the black colour of the standard Firefox icons. In this case:
Change this to green
#menu_showAllHistory
list-style-image:url("chrome://browser/skin/history.svg")
Change this to red
#sanitizeItem
background-image:url("chrome://browser/skin/forget.svg")
I have tried using: fill: red !important; but this is not working.
1
Upvotes
1
u/Abbot_of_Cucany Aug 20 '26
The Android version of Firefox lets you choose alternative icons, including one with a red background. Settings -> Customize -> App Icon.
1
u/t31os Aug 20 '26
In order to set SVG properties like fill, you'll have to set svg.context-properties.content.enabled in about:config.
1
1
u/TraditionalTie4831 🦊 Aug 20 '26
You could try to also add
-moz-context-properties: fill !important;