From cc50fad59749280b6b034215b34f9ddd404be064 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Sat, 11 Mar 2023 16:31:02 +0100 Subject: only optimize blue icons --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 584c21a..00e34c1 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,7 @@ clean-icons: find public/assets/images/icons -type f -not -path '*blue*' -delete optimize-icons: npm - find public/assets/images/icons -type f | xargs -P0 npx svgo -q --config=config/svgo.config.js + find public/assets/images/icons/blue -type f | xargs -P0 npx svgo -q --config=config/svgo.config.js icons: optimize-icons find public/assets/images/icons/blue -type f -print0 | xargs -0 -n1 -I{} echo 'sed "s/#28497c/#000000/" {} > {}' | sed 's#icons/blue#icons/black#2' | sh -- cgit v1.0