aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2022-02-18 12:21:54 +0100
committerJan-Hendrik Willms <tleilax+github@gmail.com>2023-03-11 15:31:01 +0100
commita10388dcde5677e5d1dd951afc361013de6b3eed (patch)
tree30056823e0b1a7096c24db036452cda72849e0d4
parent0da036073b530a8ca2316c0525d5a402ccd088b8 (diff)
initial change
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ea261aa..46f1f62 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,16 @@ test-unit: $(CODECEPT)
catalogs: npm $(CATALOGS)
+# black = #000000
+# blue = #28497c
+# green = #00962d
+# grey = #6e6e6e
+# red = #cb1800
+# white = #ffffff
+# yellow = #ffad00
+icons:
+ declare -A colorMap=(["black"]="#000000" ["green"]="#00962d" ["grey"]="#6e6e6e" ["red"]="#cb1800" ["white"]="#ffffff" ["yellow"]="#ffad00")
+
optimize-icons: npm
find public/assets/images/icons -type f | xargs -P0 npx svgo -q --config=config/svgo.config.js