Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set background color on fallback icons for IE6 #828

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

richardg867
Copy link

@richardg867 richardg867 commented Feb 24, 2022

Internet Explorer 6 is widely known to not support PNG transparency unless CSS hacks are applied; instead of transparency, it renders a hidden background color contained in the file, which is often not accounted for, making the current fallback icons render with a light blue background. This PR changes the fallback icons to have a hidden background color of #FFFFFF instead, which blends in nicely with the fallback theme's default white background.

The background color was changed using convert in.png -background '#ffffff' out.png and the resulting files were processed with zopflipng pngquant, which isn't as good as zopflipng but doesn't strip the background color data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant