diff options
author | EuAndreh <eu@euandre.org> | 2024-11-03 10:59:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-11-03 10:59:57 -0300 |
commit | 9d22e54ce6b4f10233345a75e8688a6d7206b29e (patch) | |
tree | 8e374bea364d537f65d7e272f0015dafa3fd84df /src/content/img/icon/code | |
parent | Add aliases for missing icons (diff) | |
download | chat.papo.im-9d22e54ce6b4f10233345a75e8688a6d7206b29e.tar.gz chat.papo.im-9d22e54ce6b4f10233345a75e8688a6d7206b29e.tar.xz |
Generate dark variation of light SVG icons
for f in src/content/img/icon/*/light.svg; do
sed \
-e 's/white/WHITE/g' \
-e 's/black/white/g' \
-e 's/WHITE/black/g' \
< "$f" > "$(dirname "$f")"/dark.svg
done
Diffstat (limited to 'src/content/img/icon/code')
-rw-r--r-- | src/content/img/icon/code/dark.svg | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/content/img/icon/code/dark.svg b/src/content/img/icon/code/dark.svg new file mode 100644 index 0000000..398959c --- /dev/null +++ b/src/content/img/icon/code/dark.svg @@ -0,0 +1,28 @@ +<svg + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 24 24" + fill="none" +> + <path + d=" + M 9 7 + L 4 12 + L 9 17 + " + stroke="white" + stroke-width="2" + stroke-linecap="round" + stroke-linejoin="round" + /> + <path + d=" + M 15 7 + L 20 12 + L 15 17 + " + stroke="white" + stroke-width="2" + stroke-linecap="round" + stroke-linejoin="round" + /> +</svg> |