Files
create/icons/themed/Draft_AddConstruction.svg
forbes d7b532255b
Some checks failed
Build and Test / build (pull_request) Has been cancelled
feat(icons): add icon theming infrastructure with Catppuccin color remapping
- Remove hand-crafted kindred-icons/ in favor of auto-generated themed icons
- Add icons/mappings/ with FCAD.csv (Tango palette) and kindred.csv (Catppuccin Mocha)
- Add icons/retheme.py script to remap upstream FreeCAD SVG colors
- Generate icons/themed/ with 1,595 themed SVGs (45,300 color replacements)
- BitmapFactory loads icons/themed/ as highest priority before default icons
- 157-color mapping covers the full Tango palette, interpolating between
  4 luminance anchors per color family

Regenerate: python3 icons/retheme.py
2026-02-15 20:34:22 -06:00

138 lines
5.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="64"
height="64"
id="svg3611"
version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs3613">
<linearGradient
xlink:href="#linearGradient32"
id="linearGradient43"
gradientUnits="userSpaceOnUse"
x1="31"
y1="21.455433"
x2="39.287029"
y2="42.334869" />
<linearGradient
id="linearGradient32">
<stop
style="stop-color:#cdd6f4;stop-opacity:1;"
offset="0"
id="stop33" />
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="1"
id="stop32" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient32"
id="linearGradient44"
gradientUnits="userSpaceOnUse"
x1="10.672202"
y1="32.420074"
x2="12.841275"
y2="38.93948" />
<linearGradient
xlink:href="#linearGradient3895"
id="linearGradient55"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-17,4)"
x1="42"
y1="41"
x2="62"
y2="31.000002" />
<linearGradient
id="linearGradient3895">
<stop
id="stop3897"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3899"
offset="1"
style="stop-color:#0846b3;stop-opacity:1;" />
</linearGradient>
</defs>
<metadata
id="metadata3867">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<cc:license
rdf:resource="" />
<dc:date>Mon Oct 10 13:44:52 2011 +0000</dc:date>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_AddConstruction.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:subject>
<rdf:Bag>
<rdf:li>trowel</rdf:li>
<rdf:li>tool</rdf:li>
<rdf:li>plus sign</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A trowel with an arrow on top of it.</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="matrix(-1,0,0,1,63.866291,16.00001)"
id="layer1-3-7-4-5">
<path
style="fill:url(#linearGradient43);fill-opacity:1;stroke:#103b35;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 59.662253,17.123968 C 54.202538,10.619145 19,23 19,23 l 20,22 c 0,0 27.92132,-19.227416 20.662253,-27.876032 z"
id="path3498-7-3-5" />
<path
style="fill:none;fill-opacity:1;stroke:#cdd6f4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 58,18 C 54.434171,13.753987 22.586852,23.947813 22.586852,23.947813 L 39.287029,42.334868 C 39.287029,42.334868 63.5322,24.58747 58,18 Z"
id="path3498-3-1-0-4" />
<path
style="fill:url(#linearGradient44);fill-opacity:1;stroke:#103b35;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 33,25 c -3,-1 -20,4 -24,6 -4,2 -6,5 -6,8 0,3 4,4 10,2 6,-2 20,-11 20,-16 z"
id="path3500-5-8-6" />
<path
style="fill:none;fill-opacity:1;stroke:#cdd6f4;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 29.98637,26.883398 c -4.889547,0.05412 -16.07494,4.168831 -19.314168,5.536675 -3.2392271,1.367845 -5.7198849,4.18225 -5.7198849,6.234016 0,2.051766 3.2515281,1.923846 7.8889579,0.285389 4.637429,-1.638458 15.312301,-8.882481 17.145095,-12.05608 z"
id="path3500-6-9-6-5" />
</g>
<g
id="layer1-1-0-0"
transform="translate(-1.1786386,7.49669)">
<g
id="g28-29-9-3"
transform="translate(-11.821639,-17.496692)">
<g
transform="rotate(90,38,36)"
id="g4636-8-3-6-0">
<path
style="fill:url(#linearGradient55);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 38.000002,26.999894 v 7.999965 h -17 v 10 h 17 v 8 L 50.999983,39.999877 Z"
id="path3343-4-1-1-3-9" />
</g>
<path
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 42.357223,37.999998 H 37.000141 V 21.000002 h -6 V 37.999998 H 25.64264 l 8.357501,8.472469 z"
id="path3343-2-06-3-9-8-2" />
</g>
</g>
</svg>