summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile38
-rw-r--r--src/icons/graph.svg33
-rw-r--r--src/icons/music.svg63
3 files changed, 103 insertions, 31 deletions
diff --git a/Makefile b/Makefile
index 80eb5ef..c3b21ff 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,30 @@
1all: build 1FILES_SRC := $(shell find src/icons -type f -name "*.svg")
2FILES := $(patsubst src/icons/%.svg,output/%.svg,$(FILES_SRC))
2 3
3clean_output: 4all: files showcase/index.html
4 @mkdir -p output
5 @rm -rf output/*
6 5
7clean_showcase: 6files: $(FILES)
8 @mkdir -p showcase
9 @rm -rf showcase/*
10 7
11icons: clean_output 8###
12 @scripts/build.sh
13 9
14showcase: clean_showcase 10output/%.svg: src/icons/%.svg | output
15 @scripts/build_showcase.sh 11 scour -i "$<" \
12 --enable-viewboxing \
13 --enable-id-stripping \
14 --enable-comment-stripping \
15 --remove-descriptive-elements \
16 --strip-xml-prolog \
17 --shorten-ids | sed -z 's/\(fill\|stroke\)="#.\{3,6\}"/\1="currentColor"/g;s/stroke-width="[0-9.]*"//g;s/stroke-linecap="[a-z]*"//g;s/stroke-linejoin="[a-z]*"//g;s/style="[ a-z0-9:-]*"//g' > "$@"
16 18
17build: icons 19showcase/index.html: src/showcase/index.html $(FILES) | showcase
18 $(MAKE) showcase 20 scripts/build_showcase.sh
19 21
20.PHONY: all clean_output clean_showcase icons showcase build 22showcase:
23 mkdir -p showcase
24
25output:
26 mkdir -p output
27
28###
29
30.PHONY: all
diff --git a/src/icons/graph.svg b/src/icons/graph.svg
index 5a9814f..60fe112 100644
--- a/src/icons/graph.svg
+++ b/src/icons/graph.svg
@@ -1,22 +1,22 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<svg 2<svg
3 xmlns:dc="http://purl.org/dc/elements/1.1/"
4 xmlns:cc="http://creativecommons.org/ns#"
5 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6 xmlns:svg="http://www.w3.org/2000/svg"
7 xmlns="http://www.w3.org/2000/svg"
8 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
9 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
10 width="16" 3 width="16"
11 height="16" 4 height="16"
12 viewBox="0 0 16 16" 5 viewBox="0 0 16 16"
13 version="1.1" 6 version="1.1"
14 id="svg10" 7 id="svg10"
15 sodipodi:docname="graph.svg" 8 sodipodi:docname="graph.svg"
16 inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)" 9 inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
17 inkscape:export-xdpi="192" 10 inkscape:export-xdpi="192"
18 inkscape:export-ydpi="192" 11 inkscape:export-ydpi="192"
19 style="fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round"> 12 style="fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round"
13 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
14 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
15 xmlns="http://www.w3.org/2000/svg"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
18 xmlns:cc="http://creativecommons.org/ns#"
19 xmlns:dc="http://purl.org/dc/elements/1.1/">
20 <metadata 20 <metadata
21 id="metadata16"> 21 id="metadata16">
22 <rdf:RDF> 22 <rdf:RDF>
@@ -25,7 +25,6 @@
25 <dc:format>image/svg+xml</dc:format> 25 <dc:format>image/svg+xml</dc:format>
26 <dc:type 26 <dc:type
27 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 27 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
28 <dc:title />
29 </cc:Work> 28 </cc:Work>
30 </rdf:RDF> 29 </rdf:RDF>
31 </metadata> 30 </metadata>
@@ -44,22 +43,22 @@
44 inkscape:window-height="992" 43 inkscape:window-height="992"
45 id="namedview12" 44 id="namedview12"
46 showgrid="true" 45 showgrid="true"
47 inkscape:zoom="32" 46 inkscape:zoom="22.627417"
48 inkscape:cx="4.4837086" 47 inkscape:cx="5.9220193"
49 inkscape:cy="9.082647" 48 inkscape:cy="11.269514"
50 inkscape:window-x="1536" 49 inkscape:window-x="1536"
51 inkscape:window-y="0" 50 inkscape:window-y="0"
52 inkscape:window-maximized="1" 51 inkscape:window-maximized="1"
53 inkscape:current-layer="svg10" 52 inkscape:current-layer="svg10"
54 showguides="true" 53 showguides="true"
55 inkscape:document-rotation="0"> 54 inkscape:document-rotation="0"
55 inkscape:pagecheckerboard="0">
56 <inkscape:grid 56 <inkscape:grid
57 type="xygrid" 57 type="xygrid"
58 id="grid823" /> 58 id="grid823" />
59 </sodipodi:namedview> 59 </sodipodi:namedview>
60 <path 60 <path
61 id="circle851" 61 id="circle851"
62 style="fill:none;fill-rule:evenodd;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;paint-order:markers fill stroke;stroke-miterlimit:4;stroke-dasharray:none;stroke:#000000;stroke-opacity:1" 62 style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
63 d="m 7.2499952,12.499995 c 0,0.966498 -0.7835017,1.75 -1.75,1.75 -0.9664983,0 -1.75,-0.783502 -1.75,-1.75 0,-0.966498 0.7835017,-1.75 1.75,-1.75 0.9664983,0 1.75,0.783502 1.75,1.75 z M 15.249995,9.4999952 c 0,0.9664978 -0.783502,1.7499998 -1.75,1.7499998 -0.966498,0 -1.75,-0.783502 -1.75,-1.7499998 0,-0.9664983 0.783502,-1.75 1.75,-1.75 0.966498,0 1.75,0.7835017 1.75,1.75 z M 9.2499952,2.999995 c 0,0.9664983 -0.7835017,1.75 -1.75,1.75 -0.9664983,0 -1.75,-0.7835017 -1.75,-1.75 0,-0.9664983 0.7835017,-1.75 1.75,-1.75 0.9664983,0 1.75,0.7835017 1.75,1.75 z M 11.25,15.25 12.871851,11.137887 M 4.5408641,11 0.75,5.75 m 6.4057743,6.162602 4.6868127,-1.823495 M 8.6796285,4.3023047 12.2655,8.2329569 M 7.1792337,4.730093 5.829655,10.773085" 63 d="m 5.25,13 c 0,0.966498 -0.7835017,1.75 -1.75,1.75 -0.9664983,0 -1.75,-0.783502 -1.75,-1.75 0,-0.966498 0.7835017,-1.75 1.75,-1.75 0.9664983,0 1.75,0.783502 1.75,1.75 z m 8.999995,-3.5000048 c 0,0.9664978 -0.783502,1.7499998 -1.75,1.7499998 -0.966498,0 -1.75,-0.783502 -1.75,-1.7499998 0,-0.9664983 0.783502,-1.75 1.75,-1.75 0.966498,0 1.75,0.7835017 1.75,1.75 z M 7.25,2.999995 c 0,0.9664983 -0.7835017,1.75 -1.75,1.75 -0.9664983,0 -1.75,-0.7835017 -1.75,-1.75 0,-0.9664983 0.7835017,-1.75 1.75,-1.75 0.9664983,0 1.75,0.7835017 1.75,1.75 z m -2.0942209,9.412612 5.6868079,-2.3235 M 6.6796333,4.3023047 11.2655,8.2329569 M 5.1792385,4.730093 3.8296598,11.27309" />
64 sodipodi:nodetypes="ssssssssssssssscccccccccc" />
65</svg> 64</svg>
diff --git a/src/icons/music.svg b/src/icons/music.svg
new file mode 100644
index 0000000..4597de6
--- /dev/null
+++ b/src/icons/music.svg
@@ -0,0 +1,63 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<svg
3 width="16"
4 height="16"
5 viewBox="0 0 16 16"
6 version="1.1"
7 id="svg10"
8 sodipodi:docname="music.svg"
9 inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
10 inkscape:export-xdpi="192"
11 inkscape:export-ydpi="192"
12 style="fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round"
13 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
14 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
15 xmlns="http://www.w3.org/2000/svg"
16 xmlns:svg="http://www.w3.org/2000/svg"
17 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
18 xmlns:cc="http://creativecommons.org/ns#"
19 xmlns:dc="http://purl.org/dc/elements/1.1/">
20 <metadata
21 id="metadata16">
22 <rdf:RDF>
23 <cc:Work
24 rdf:about="">
25 <dc:format>image/svg+xml</dc:format>
26 <dc:type
27 rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
28 </cc:Work>
29 </rdf:RDF>
30 </metadata>
31 <defs
32 id="defs14" />
33 <sodipodi:namedview
34 pagecolor="#ffffff"
35 bordercolor="#666666"
36 borderopacity="1"
37 objecttolerance="10"
38 gridtolerance="10"
39 guidetolerance="10"
40 inkscape:pageopacity="0"
41 inkscape:pageshadow="2"
42 inkscape:window-width="3840"
43 inkscape:window-height="1983"
44 id="namedview12"
45 showgrid="true"
46 inkscape:zoom="32"
47 inkscape:cx="7.078125"
48 inkscape:cy="7.421875"
49 inkscape:window-x="0"
50 inkscape:window-y="0"
51 inkscape:window-maximized="1"
52 inkscape:current-layer="svg10"
53 showguides="false"
54 inkscape:pagecheckerboard="0">
55 <inkscape:grid
56 type="xygrid"
57 id="grid823" />
58 </sodipodi:namedview>
59 <path
60 id="path2073"
61 style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:normal"
62 d="m 5.75,5.75 8.5,-2 m 0,7 c 0,1.10457 -0.89543,2 -2,2 -1.104569,0 -2,-0.89543 -2,-2 0,-1.10457 0.895431,-2 2,-2 1.10457,0 2,0.89543 2,2 z m -8.5,1.99998 V 2.75 l 8.5,-2 v 10.00002 m -8.5,1.9999 c 0,1.10457 -0.8954305,2 -2,2 -1.1045695,0 -2,-0.89543 -2,-2 0,-1.10457 0.8954305,-2 2,-2 1.1045695,0 2,0.89543 2,2 z" />
63</svg>