Skip to content

png backgrounds > lossless compressed & use svgs where supported#17

Open
PascalReintjens wants to merge 1 commit intoCreativeDream:masterfrom
PascalReintjens:patch-1
Open

png backgrounds > lossless compressed & use svgs where supported#17
PascalReintjens wants to merge 1 commit intoCreativeDream:masterfrom
PascalReintjens:patch-1

Conversation

@PascalReintjens
Copy link

I minimized the close-button-background-images via lossless compression, which makes the file about 4 kB smaller without any visual depreciation :)

Additionally I added svgs for hdpi screens. The linear-gradient at the end of each svg background declaration is only supported by browsers which are able to display svgs too. This basically acts as a fallback so that browsers without svg support will instead show the old png

I minimized the close-button-background-images via lossless compression, which makes the file about 4 kB smaller without any visual depreciation :)

Additionally I added svgs for hdpi screens. The linear-gradient at the end of each svg background declaration is only supported by browsers which are able to display svgs too. This basically acts as a fallback so that browsers without svg support will instead show the old png
@CreativeDream
Copy link
Owner

@PascalReintjens thanks. I will take a look

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.

2 participants