Closed alnviana closed 9 months ago
You need to have svg.context-properties.content.enabled
enabled for this to work. Which I dont want to leave average user to do because they wont and they will have it black.
It's the same issue with other buttons I changed. That's why all of them are now static color.
Oh, i didn't know that. I agree with you, so I'm closing this. Thanks for the information and attention. :)
The current Ublock icon doesn't change it's color as firefox default ones. As so, I suggest to changing this icon to a SVG made so that the colorization takes place.
I think that is better use a icon like that, because everything will have the same colors, even with dark or light themes, with different icon colors.
I made two svg icons that works, one for Ublock and the another is for Bitwarden. I know this issue is about Ublock icon, but since doesn't exist a custom Bitwarden icon yet, and I'm a little lazy to open another Issue, I will send here too. ;P
SVGs
![ublock](https://github.com/datguypiko/Firefox-Mod-Blur/assets/31132223/8f7e13d0-93b5-4695-809d-e60b37aecd7e) ``` data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgIGhlaWdodD0iMTI4IgogICAgd2lkdGg9IjEyOCIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGcgaWQ9ImcxIgogICAgICAgIGZpbGw9ImNvbnRleHQtZmlsbCIKICAgICAgICBmaWxsLW9wYWNpdHk9ImNvbnRleHQtZmlsbC1vcGFjaXR5IgogICAgICAgIHRyYW5zZm9ybT0ibWF0cml4KDAuOTkzMDI2ODQsMCwwLDAuOTkzMDI2ODQsMC40NDYyODMwNSwwLjQ0NjI4MjExKSIKICAgID4KICAgICAgICA8cGF0aCBpZD0icGF0aDEiCiAgICAgICAgICAgIGQ9Ik0gNjEuMzkyNTc4LDAuMzM5ODQzNzUgQyAzOS4zODc5NTYsMTUuMDA5NTkzIDM0LjEyNjQ3LDE0LjQ4ODI4MSAxMS43MjA3MDMsMTQuNDg4MjgxIDkuMTI1MDY4MiwxNC40ODgyNTIgNy4wM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Ljc1MTI3MSwxNSAxNS4wMDAwMDMsMTUgOC4yNDg3MywwIDE1LC02Ljc1MTI3MSAxNSwtMTUgMCwtOC4yNDg3MjkgLTYuNzUxMjcsLTE1IC0xNSwtMTUgeiBtIDAsNiBjIDUuMDA2MDksMCA5LDMuOTkzOTA4IDksOSAwLDUuMDA2MDkyIC0zLjk5MzkxLDkgLTksOSAtNS4wMDYwOTQsMCAtOS4wMDAwMDMsLTMuOTkzOTA4IC05LjAwMDAwMywtOSAwLC01LjAwNjA5MiAzLjk5MzkwOSwtOSA5LjAwMDAwMywtOSB6IgogICAgICAgICAgICAgICAgdHJhbnNmb3JtPSJtYXRyaXgoMS4zMzMzMzM1LDAsMCwxLjMzMzMzMzQsLTYwLjE2MzQxLC00OC40MzM4MTEpIgogICAgICAgICAgICAvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg== ``` ![bitwarden](https://github.com/datguypiko/Firefox-Mod-Blur/assets/31132223/032686c2-03fb-482b-aab1-98905ef97d39) ``` data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgIGhlaWdodD0iNTEyIgogICAgd2lkdGg9IjUxMiIKICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGcKICAgICAgICBpZD0iZzEiCiAgICAgICAgZmlsbD0iY29udGV4dC1maWxsIgogICAgICAgIGZpbGwtb3BhY2l0eT0iY29udGV4dC1maWxsLW9wYWNpdHkiPgogICAgICAgIDxwYXRoCiAgICAgICAgICAgIGlkPSJwYXRoMSIKICAgICAgICAgICAgZD0iTSA0MDUuOTc5OCwyNzcuOTc5OCBWIDYzLjM1MzU0IEggMjU2LjAwMDAxIFYgNDQzLjQ3NDc1IEMgMzE2Ljc2NzY3LDQwNy4yNzI3MyA0MDQuNjg2ODYsMzQ3Ljc5Nzk4IDQwNS45Nzk4LDI3Ny45Nzk4IFogTSA0NjkuMzMzMzMsMjEuOTc5ODAxIFYgMjc3Ljk3OTggQyA0NjkuMzMzMzMsNDE1LjAzMDMgMjcyLjgwODA5LDUxMiAyNTYuMDAwMDEsNTEyIDIzOS4xOTE5Miw1MTIgNDIuNjY2NjY3LDQxNS4wMzAzIDQyLjY2NjY2NywyNzcuOTc5OCBWIDIxLjk3OTgwMSBjIDAsMCAwLC0yMS45Nzk4MDEgMjEuOTc5Nzk3LC0yMS45Nzk4MDEgSCA0NDcuMzUzNTQgYyAwLDAgMjEuOTc5NzksMCAyMS45Nzk3OSwyMS45Nzk4MDEgeiIKICAgICAgICAvPgogICAgPC9nPgo8L3N2Zz4K ```An example that shows both icons working: