From: Michael Tremer Date: Tue, 17 Mar 2026 16:57:52 +0000 (+0000) Subject: favicon: Give it a white background X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d326ceec86979293fb3327e3bfea2ef292b12f76;p=artwork.git favicon: Give it a white background Signed-off-by: Michael Tremer --- diff --git a/Makefile b/Makefile index efde063..e785f56 100644 --- a/Makefile +++ b/Makefile @@ -131,28 +131,28 @@ standard/favicon.svg: favicon.svg # Converts the favicon to PNG %/favicon-16x16.png: %/favicon.svg mkdir -p $(dir $@) && \ - $(RSVG_CONVERT) --format=png --width=16 $< > $@ + $(RSVG_CONVERT) --format=png --width=16 --background-color="#$(WHITE)" $< > $@ %/favicon-32x32.png: %/favicon.svg mkdir -p $(dir $@) && \ - $(RSVG_CONVERT) --format=png --width=32 $< > $@ + $(RSVG_CONVERT) --format=png --width=32 --background-color="#$(WHITE)" $< > $@ %/favicon-64x64.png: %/favicon.svg mkdir -p $(dir $@) && \ - $(RSVG_CONVERT) --format=png --width=64 $< > $@ + $(RSVG_CONVERT) --format=png --width=64 --background-color="#$(WHITE)" $< > $@ %/favicon-128x128.png: %/favicon.svg mkdir -p $(dir $@) && \ - $(RSVG_CONVERT) --format=png --width=128 $< > $@ + $(RSVG_CONVERT) --format=png --width=128 --background-color="#$(WHITE)" $< > $@ %/favicon-256x256.png: %/favicon.svg mkdir -p $(dir $@) && \ - $(RSVG_CONVERT) --format=png --width=256 $< > $@ + $(RSVG_CONVERT) --format=png --width=256 --background-color="#$(WHITE)" $< > $@ # This is like the favicon but in 180x180px %/apple-touch-icon.png: %/favicon.svg mkdir -p $(dir $@) && \ - $(RSVG_CONVERT) --format=png --width=180 $< > $@ + $(RSVG_CONVERT) --format=png --width=180 --background-color="#$(WHITE)" $< > $@ # Convert the logo to monochome only %-monochrome.svg: %.svg