Hi,
I want to color the tabs URLs icons to red- just the icons of the sites.
Someone on reddit gave me that code and explanation:
.tabbrowser-tab .tab-icon-image { filter: sepia(1) saturate(5000%) hue-rotate(0deg); }
What this does is make every icon the same hue with the sepia filter, then, you rotate the hue towards red. You need to use high saturation to make the colours pop and every icon should be red.
https://www.quackit.com/css/functions/css_hue-rotate_function.cfm
It partially succeeded. All the webs icons with one color as github, virusetotal…are colored in red, but all the webs with more than one color as google, amazon… are colored partially in red. It as like this code can color only one color of the icon.
There is any way to color all the icons to red or replace them?
Thanks.
well i don’t really know how much you know, so i don’t want to over-explain things, but:
src=./favicon.png
). more reading. so there’s no way of guessing what image to replace, you have to inspect the source of the image in the browser chromeif the code actually did nothing (on lemmy, not amazon) you might be out of luck - it’s possible firefox compresses them differently so the uri doesn’t matchi’m an idiot, it would do nothing, it has[..]
in it because the actual string is too long for a lemmy commentdo feel free to ask further questions, although my replies may be slow as i’m not really on lemmy that often