summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-01-30 07:05:40 +0100
committerGitHub <noreply@github.com>2020-01-30 08:05:40 +0200
commitd7f4f87aafe04baf4638a5c66ea4a7989b2e38d4 (patch)
tree409cf21aad59ecfdbddde84a876cf53cb1e5df20
parent04cbdf5c08ef7468100269935613250846e801c4 (diff)
downloadgitea-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--Makefile6
-rw-r--r--public/img/apple-touch-icon.pngbin8430 -> 5399 bytes
-rw-r--r--public/img/auth/google.pngbin1625 -> 1622 bytes
-rw-r--r--public/img/msteams.pngbin6154 -> 4313 bytes
-rw-r--r--public/img/repo_default.pngbin2464 -> 1645 bytes
-rw-r--r--public/img/telegram.pngbin12399 -> 9857 bytes
6 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f6cccc0755..b3c54dd957 100644
--- a/Makefile
+++ b/Makefile
@@ -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
index 6cf87e0f3a..d2def0bdc7 100644
--- a/public/img/apple-touch-icon.png
+++ b/public/img/apple-touch-icon.png
Binary files differ
diff --git a/public/img/auth/google.png b/public/img/auth/google.png
index 389c1cd54c..e2cfb67435 100644
--- a/public/img/auth/google.png
+++ b/public/img/auth/google.png
Binary files differ
diff --git a/public/img/msteams.png b/public/img/msteams.png
index 27313918e1..d7b81da4ed 100644
--- a/public/img/msteams.png
+++ b/public/img/msteams.png
Binary files differ
diff --git a/public/img/repo_default.png b/public/img/repo_default.png
index dbfa843723..fa11c82218 100644
--- a/public/img/repo_default.png
+++ b/public/img/repo_default.png
Binary files differ
diff --git a/public/img/telegram.png b/public/img/telegram.png
index ee0756db5e..9995703e43 100644
--- a/public/img/telegram.png
+++ b/public/img/telegram.png
Binary files differ