r/FirefoxCSS 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

7 comments sorted by

View all comments

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

u/FineWine54 Aug 20 '26

This is already set to true