summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-03-28 20:15:29 +0200
committerVolpeon <git@volpeon.ink>2021-03-28 20:15:29 +0200
commitc77dca8c68d55ccea5756e336f8b43f13ec1c6e7 (patch)
tree70ee3410b56f91638b2e31a8c91db3a547dd8687 /scripts
parentImproved half star icon, added filled version (diff)
downloadiro-icons-c77dca8c68d55ccea5756e336f8b43f13ec1c6e7.tar.gz
iro-icons-c77dca8c68d55ccea5756e336f8b43f13ec1c6e7.tar.bz2
iro-icons-c77dca8c68d55ccea5756e336f8b43f13ec1c6e7.zip
Fix build output to use currentColor
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 62822a3..63dbff2 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -1,13 +1,13 @@
1#!/bin/bash 1#!/bin/bash
2 2
3handle () { 3handle () {
4 scour -i "$1" -o "output${1#"src/icons"}" \ 4 scour -i "$1" \
5 --enable-viewboxing \ 5 --enable-viewboxing \
6 --enable-id-stripping \ 6 --enable-id-stripping \
7 --enable-comment-stripping \ 7 --enable-comment-stripping \
8 --remove-descriptive-elements \ 8 --remove-descriptive-elements \
9 --strip-xml-prolog \ 9 --strip-xml-prolog \
10 --shorten-ids 10 --shorten-ids | sed -z 's/\(fill\|stroke\)="#.\{3,6\}"/\1="currentColor"/g' > "output${1#"src/icons"}"
11} 11}
12export -f handle 12export -f handle
13 13