diff options
author | silverwind <me@silverwind.io> | 2020-01-30 07:05:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 08:05:40 +0200 |
commit | d7f4f87aafe04baf4638a5c66ea4a7989b2e38d4 (patch) | |
tree | 409cf21aad59ecfdbddde84a876cf53cb1e5df20 | |
parent | 04cbdf5c08ef7468100269935613250846e801c4 (diff) | |
download | gitea-d7f4f87aafe04baf4638a5c66ea4a7989b2e38d4.tar.gz gitea-d7f4f87aafe04baf4638a5c66ea4a7989b2e38d4.zip |
fix apple-touch-icon, regenerate images (#10065)
* fix apple-touch-icon, regenerate images
Fixed semi-transparent pixels of apple-touch-icon.png.
I had to manually exclude public/img/loading.png from the commit because
it's an APNG and one of the tools destroys the animation.
* exclude loading.png
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | public/img/apple-touch-icon.png | bin | 8430 -> 5399 bytes | |||
-rw-r--r-- | public/img/auth/google.png | bin | 1625 -> 1622 bytes | |||
-rw-r--r-- | public/img/msteams.png | bin | 6154 -> 4313 bytes | |||
-rw-r--r-- | public/img/repo_default.png | bin | 2464 -> 1645 bytes | |||
-rw-r--r-- | public/img/telegram.png | bin | 12399 -> 9857 bytes |
6 files changed, 3 insertions, 3 deletions
@@ -550,10 +550,10 @@ generate-images: convert $(TMPDIR)/images/16.png $(TMPDIR)/images/32.png \ $(TMPDIR)/images/64.png $(TMPDIR)/images/128.png \ $(PWD)/public/img/favicon.ico - convert $(PWD)/public/img/favicon.png -fill white -opaque none $(PWD)/public/img/apple-touch-icon.png - + convert -flatten $(PWD)/public/img/favicon.png $(PWD)/public/img/apple-touch-icon.png + rm -rf $(TMPDIR)/images - $(foreach file, $(shell find public/img -type f -name '*.png'),zopflipng -m -y $(file) $(file);) + $(foreach file, $(shell find public/img -type f -name '*.png' ! -name 'loading.png'),zopflipng -m -y $(file) $(file);) .PHONY: pr pr: diff --git a/public/img/apple-touch-icon.png b/public/img/apple-touch-icon.png Binary files differindex 6cf87e0f3a..d2def0bdc7 100644 --- a/public/img/apple-touch-icon.png +++ b/public/img/apple-touch-icon.png diff --git a/public/img/auth/google.png b/public/img/auth/google.png Binary files differindex 389c1cd54c..e2cfb67435 100644 --- a/public/img/auth/google.png +++ b/public/img/auth/google.png diff --git a/public/img/msteams.png b/public/img/msteams.png Binary files differindex 27313918e1..d7b81da4ed 100644 --- a/public/img/msteams.png +++ b/public/img/msteams.png diff --git a/public/img/repo_default.png b/public/img/repo_default.png Binary files differindex dbfa843723..fa11c82218 100644 --- a/public/img/repo_default.png +++ b/public/img/repo_default.png diff --git a/public/img/telegram.png b/public/img/telegram.png Binary files differindex ee0756db5e..9995703e43 100644 --- a/public/img/telegram.png +++ b/public/img/telegram.png |