First SVG versions of icons

This commit is contained in:
Matthias Koefferlein 2022-09-11 18:25:00 +02:00
parent 2d17d87063
commit 92fc8bbafc
7 changed files with 243 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 534 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

113
src/icons/svg/back_24px.svg Normal file
View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="24"
height="24"
viewBox="0 0 6.3499998 6.3500002"
version="1.1"
id="svg1011"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
sodipodi:docname="back_24px.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1013"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="true"
units="px"
inkscape:snap-nodes="true"
inkscape:snap-bbox="true"
inkscape:bbox-nodes="true"
inkscape:snap-others="false"
inkscape:zoom="25.628058"
inkscape:cx="11.70592"
inkscape:cy="12.935042"
inkscape:window-width="1535"
inkscape:window-height="1081"
inkscape:window-x="215"
inkscape:window-y="152"
inkscape:window-maximized="0"
inkscape:current-layer="layer1">
<inkscape:grid
type="xygrid"
id="grid1074"
spacingx="0.13229167"
spacingy="0.13229167"
empspacing="2" />
</sodipodi:namedview>
<defs
id="defs1008">
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3600"
id="linearGradient3606"
x1="106.2992"
y1="180.70865"
x2="81.496056"
y2="155.9055"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.07052323,0,0,0.07093805,-3.3220225,-8.6386968)" />
<linearGradient
id="linearGradient3600">
<stop
style="stop-color:#ff9f3f;stop-opacity:1;"
offset="0"
id="stop3602" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3604" />
</linearGradient>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="fill:none;stroke:#865b26;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3596"
width="6.349999"
height="6.3499999"
x="5e-07"
y="5e-07"
inkscape:export-filename="/home/matthias/klayout/master/src/lay/lay/images/back.png"
inkscape:export-xdpi="27.093315"
inkscape:export-ydpi="27.093315" />
<path
style="fill:url(#linearGradient3606);fill-opacity:1;stroke:#333333;stroke-width:0.26458299;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2.7;stroke-dasharray:none;stroke-opacity:1"
d="M 0.79375002,3.1750001 3.3072918,0.66145835 V 1.7197917 l 1.5875,0 h 0.5291667 l 0,2.9104168 H 3.3072917 v 1.0583333 z"
id="path3598"
inkscape:export-filename="/home/matthias/klayout/master/src/lay/lay/images/back.png"
inkscape:export-xdpi="27.093315"
inkscape:export-ydpi="27.093315"
sodipodi:nodetypes="ccccccccc"
inkscape:connector-curvature="0" />
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:21.6094;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="path3282-7-5-9"
sodipodi:type="arc"
sodipodi:cx="4.419817"
sodipodi:cy="0.31476814"
sodipodi:rx="0.37859944"
sodipodi:ry="1.0641092"
sodipodi:start="0"
sodipodi:end="6.2811607"
sodipodi:open="true"
transform="matrix(0.47657196,0.87913546,0.74536017,0.66666199,0,0)"
inkscape:export-filename="/home/matthias/klayout/master/src/lay/lay/images/back.png"
inkscape:export-xdpi="27.093315"
inkscape:export-ydpi="27.093315"
sodipodi:arc-type="arc"
d="M 4.7984164,0.31476814 A 0.37859944,1.0641092 0 0 1 4.4200086,1.3788772 0.37859944,1.0641092 0 0 1 4.0412177,0.31584534 0.37859944,1.0641092 0 0 1 4.4192421,-0.74933984 0.37859944,1.0641092 0 0 1 4.7984156,0.31261373" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="24"
height="24"
viewBox="0 0 6.3499998 6.3500002"
version="1.1"
id="svg1011"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
sodipodi:docname="forward_24px.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview1013"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="true"
units="px"
inkscape:snap-nodes="true"
inkscape:snap-bbox="true"
inkscape:bbox-nodes="true"
inkscape:snap-others="false"
inkscape:zoom="9.0608869"
inkscape:cx="4.9664012"
inkscape:cy="6.6770506"
inkscape:window-width="1535"
inkscape:window-height="1083"
inkscape:window-x="257"
inkscape:window-y="135"
inkscape:window-maximized="0"
inkscape:current-layer="layer1">
<inkscape:grid
type="xygrid"
id="grid1074"
spacingx="0.13229167"
spacingy="0.13229167"
empspacing="2" />
</sodipodi:namedview>
<defs
id="defs1008">
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3600"
id="linearGradient3606"
x1="88.374275"
y1="177.72475"
x2="110.88459"
y2="155.34607"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.07052323,0,0,0.07093805,9.6720227,-8.6386968)" />
<linearGradient
id="linearGradient3600">
<stop
style="stop-color:#ff9f3f;stop-opacity:1;"
offset="0"
id="stop3602" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3604" />
</linearGradient>
</defs>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="fill:none;stroke:#865b26;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect3596"
width="6.349999"
height="6.3499999"
x="5e-07"
y="5e-07"
inkscape:export-filename="/home/matthias/klayout/master/src/lay/lay/images/back.png"
inkscape:export-xdpi="27.093315"
inkscape:export-ydpi="27.093315" />
<path
style="fill:url(#linearGradient3606);fill-opacity:1;stroke:#333333;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2.7;stroke-dasharray:none;stroke-opacity:1"
d="M 5.5562497,3.1750001 3.0427084,0.66145835 V 1.7197917 h -1.5875 -0.52916671 V 4.6302085 H 3.0427085 v 1.0583333 z"
id="path3598"
inkscape:export-filename="/home/matthias/klayout/master/src/lay/lay/images/back.png"
inkscape:export-xdpi="27.093315"
inkscape:export-ydpi="27.093315"
sodipodi:nodetypes="ccccccccc"
inkscape:connector-curvature="0" />
<path
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:21.6094;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:2;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
id="path3282-7-5-9"
sodipodi:type="arc"
sodipodi:cx="16.960705"
sodipodi:cy="-16.223057"
sodipodi:rx="0.37859944"
sodipodi:ry="1.0641092"
sodipodi:start="0"
sodipodi:end="6.2811607"
sodipodi:open="true"
transform="matrix(-0.47657196,0.87913546,-0.74536017,0.66666199,0,0)"
inkscape:export-filename="/home/matthias/klayout/master/src/lay/lay/images/back.png"
inkscape:export-xdpi="27.093315"
inkscape:export-ydpi="27.093315"
sodipodi:arc-type="arc"
d="m 17.339304,-16.223057 a 0.37859944,1.0641092 0 0 1 -0.378408,1.064109 0.37859944,1.0641092 0 0 1 -0.37879,-1.063032 0.37859944,1.0641092 0 0 1 0.378024,-1.065185 0.37859944,1.0641092 0 0 1 0.379173,1.061954" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

17
src/icons/svg/make_png.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash -e
output=../images
for svg_file in *.svg; do
png_file=${output}/${svg_file/.svg/.png}
png_file_2x=${output}/${svg_file/.svg/@2x.png}
echo "Converting $svg_file to $png_file .."
inkscape -o ${png_file} ${svg_file} -d 96 -C
echo "Converting $svg_file to $png_file_2x .."
inkscape -o ${png_file_2x} ${svg_file} -d 192 -C
done