diff --git a/Makefile b/Makefile index 09b1f029ef1cb1796e6d3b59afd740d5f7236c3b..2c3be15056a6cdb1667c6dd5de719752eaaac8c3 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,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 $(NPM_BIN)/svgo -q --config=config/svgo.config.js