SVG icon.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Sat, 30 Aug 2014 13:27:43 +0000 (15:27 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Sat, 30 Aug 2014 13:27:43 +0000 (15:27 +0200)
.gitignore
Makefile
favicon.svg [new file with mode: 0644]
favicon_128.png [deleted file]
favicon_192.png [deleted file]
favicon_256.png [deleted file]
favicon_32.png [deleted file]

index 8cefe1e9fd5b5522d0d134677864378ece5ff689..9b318df386e9efc3ec23d5e2ab8071850b373691 100644 (file)
@@ -1 +1,3 @@
 heroik.appcache
+favicon_*.png
+
index 736c55e79992f9f70a7b5116e0049ee8b1426e70..30266b310b321dd4a2f93137359005d54766a05a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,14 @@ appcache>contents = $(shell grep -vFx -e "*" -e "CACHE MANIFEST" -e "CACHE:" -e
 %.appcache: %.appcache.in $$(call appcache>contents,$$*.appcache.in)
        sed "s/<Last-Updated>$$/Last-Updated: `date -u +'%Y-%m-%dT%H:%M:%SZ'`/" $< > $@
 
-all: heroik.appcache
+CONVERT.svg.png ?= rsvg-convert -f png
 
-clean:
-       $(RM) heroik.appcache
+favicon_%.png: favicon.svg
+       $(CONVERT.svg.png) -w $(*F) -h $(*F) < $< > $@
+
+ICONS := $(patsubst %,favicon_%.png,256 192 128 32)
 
+all: heroik.appcache $(ICONS)
+
+clean:
+       $(RM) heroik.appcache $(ICONS)
diff --git a/favicon.svg b/favicon.svg
new file mode 100644 (file)
index 0000000..7be7071
--- /dev/null
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="3543.3069"
+   height="3543.3069"
+   id="svg2985"
+   version="1.1"
+   inkscape:version="0.48.5 r10040"
+   sodipodi:docname="favicon.svg">
+  <defs
+     id="defs2987">
+    <filter
+       inkscape:collect="always"
+       id="filter3999"
+       x="-0.39677419"
+       width="1.7935484"
+       y="-0.39677419"
+       height="1.7935484">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="253.17973"
+         id="feGaussianBlur4001" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.10217536"
+     inkscape:cx="1921.6495"
+     inkscape:cy="1496.8505"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     units="m"
+     inkscape:snap-global="false"
+     objecttolerance="20"
+     inkscape:window-width="997"
+     inkscape:window-height="824"
+     inkscape:window-x="348"
+     inkscape:window-y="7"
+     inkscape:window-maximized="0">
+    <inkscape:grid
+       type="xygrid"
+       id="grid3769"
+       empspacing="5"
+       visible="true"
+       enabled="true"
+       snapvisiblegridlinesonly="true"
+       units="cm"
+       spacingx="10cm"
+       spacingy="10cm" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata2990">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,2490.957)">
+    <rect
+       style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="rect2993"
+       width="3543.3071"
+       height="3543.3071"
+       x="0"
+       y="-2490.9573" />
+    <path
+       sodipodi:type="arc"
+       style="fill:#444444;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3763"
+       sodipodi:cx="1588.5714"
+       sodipodi:cy="2503.3069"
+       sodipodi:rx="765.71429"
+       sodipodi:ry="765.71429"
+       d="m 2354.2857,2503.3069 a 765.71429,765.71429 0 1 1 -1531.42858,0 765.71429,765.71429 0 1 1 1531.42858,0 z"
+       transform="matrix(0.92549064,0,0,0.92549065,301.44556,-2327.4294)" />
+    <path
+       sodipodi:type="arc"
+       style="fill:#5e5e5e;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3763-9"
+       sodipodi:cx="1588.5714"
+       sodipodi:cy="2503.3069"
+       sodipodi:rx="765.71429"
+       sodipodi:ry="765.71429"
+       d="m 2354.2857,2503.3069 a 765.71429,765.71429 0 1 1 -1531.42858,0 765.71429,765.71429 0 1 1 1531.42858,0 z"
+       transform="matrix(1.041177,0,0,1.041177,-236.66116,-2989.0751)" />
+    <path
+       sodipodi:type="arc"
+       style="fill:#5e5e5e;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3763-9-6"
+       sodipodi:cx="1588.5714"
+       sodipodi:cy="2503.3069"
+       sodipodi:rx="765.71429"
+       sodipodi:ry="765.71429"
+       d="m 2354.2857,2503.3069 a 765.71429,765.71429 0 1 1 -1531.42858,0 765.71429,765.71429 0 1 1 1531.42858,0 z"
+       transform="matrix(1.041177,0,0,1.041177,472.00026,-2989.0751)" />
+    <path
+       sodipodi:type="arc"
+       style="fill:#dae9bc;fill-opacity:1;fill-rule:nonzero;stroke:none"
+       id="path3763-9-6-8"
+       sodipodi:cx="1588.5714"
+       sodipodi:cy="2503.3069"
+       sodipodi:rx="765.71429"
+       sodipodi:ry="765.71429"
+       d="m 2354.2857,2503.3069 a 765.71429,765.71429 0 1 1 -1531.42858,0 765.71429,765.71429 0 1 1 1531.42858,0 z"
+       transform="matrix(1.1568633,0,0,1.1568633,-66.106426,-3721.5868)" />
+    <path
+       sodipodi:type="arc"
+       style="fill:#a7cb60;fill-opacity:1;fill-rule:nonzero;stroke:none;filter:url(#filter3999)"
+       id="path3763-9-6-8-9"
+       sodipodi:cx="1588.5714"
+       sodipodi:cy="2503.3069"
+       sodipodi:rx="765.71429"
+       sodipodi:ry="765.71429"
+       d="m 2354.2857,2503.3069 a 765.71429,765.71429 0 1 1 -1531.42858,0 765.71429,765.71429 0 1 1 1531.42858,0 z"
+       transform="matrix(1.1571546,0,0,1.1568633,-66.169119,-4034.7694)" />
+  </g>
+</svg>
diff --git a/favicon_128.png b/favicon_128.png
deleted file mode 100644 (file)
index e3e1762..0000000
Binary files a/favicon_128.png and /dev/null differ
diff --git a/favicon_192.png b/favicon_192.png
deleted file mode 100644 (file)
index ab3a4d2..0000000
Binary files a/favicon_192.png and /dev/null differ
diff --git a/favicon_256.png b/favicon_256.png
deleted file mode 100644 (file)
index 4f2cd94..0000000
Binary files a/favicon_256.png and /dev/null differ
diff --git a/favicon_32.png b/favicon_32.png
deleted file mode 100644 (file)
index 0e6dc9d..0000000
Binary files a/favicon_32.png and /dev/null differ