@Godie to Firefox [email protected] • edit-21 day ago[solved] How to change the extensions icon of sidebar-revampimagemessage-square2arrow-up15arrow-down10file-text
arrow-up15arrow-down1image[solved] How to change the extensions icon of sidebar-revamp@Godie to Firefox [email protected] • edit-21 day agomessage-square2file-text
Hi, I want to change the extensions icons of sidebar-revamp but the image is in the html and I can’t get it to work.
minus-square@MrOtherGuyMlink1•1 day agoI’d probably just make the img use a variable if one is set, and then set the variable for the shadow root host based on its extensionId attribute: .button-background > img{ content: var(--my-custom-image,none); } moz-button[extensionId="some-extension-id"]{ --my-custom-image: url("image.png"); }
I’d probably just make the img use a variable if one is set, and then set the variable for the shadow root host based on its extensionId attribute:
.button-background > img{ content: var(--my-custom-image,none); } moz-button[extensionId="some-extension-id"]{ --my-custom-image: url("image.png"); }
Thanks. 😄👍 💙