diff options
author | Volpeon <git@volpeon.ink> | 2021-03-28 20:15:29 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-03-28 20:15:29 +0200 |
commit | c77dca8c68d55ccea5756e336f8b43f13ec1c6e7 (patch) | |
tree | 70ee3410b56f91638b2e31a8c91db3a547dd8687 /scripts | |
parent | Improved half star icon, added filled version (diff) | |
download | iro-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-x | scripts/build.sh | 4 |
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 | ||
3 | handle () { | 3 | handle () { |
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 | } |
12 | export -f handle | 12 | export -f handle |
13 | 13 | ||