Files
create/icons/themed/TechDraw_TreeSymbol.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

188 lines
6.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
width="64"
height="64"
id="svg4024"
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="defs4026">
<linearGradient
gradientTransform="translate(-48)"
gradientUnits="userSpaceOnUse"
y2="25.999996"
x2="53"
y1="39.999996"
x1="10"
id="linearGradient3781-7"
xlink:href="#linearGradient3775" />
<linearGradient
id="linearGradient3775">
<stop
id="stop3777"
offset="0"
style="stop-color:#6c7086;stop-opacity:1;" />
<stop
id="stop3779"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:1" />
</linearGradient>
</defs>
<metadata
id="metadata4029">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(0,16)"
id="layer2-5"
style="display:inline">
<rect
transform="rotate(-90)"
y="3"
x="-38.999996"
height="58.000004"
width="45.999996"
id="rect2987-5"
style="display:inline;fill:#6c7086;fill-opacity:1;stroke:#1e1e2e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
transform="rotate(-90)"
y="5"
x="-36.999996"
height="54.000004"
width="41.999996"
id="rect2987-1-6"
style="display:inline;fill:url(#linearGradient3781-7);fill-opacity:1;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
y="-3"
x="7"
height="38"
width="50"
id="rect3894-5"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<rect
y="23"
x="33"
height="12.000004"
width="23.999994"
id="rect4664-7"
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
id="path4666-3"
d="m 37,27 h 15.398794 v 0"
style="display:inline;fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path4666-7-4"
d="m 37,31 h 15.642526 v 0"
style="display:inline;fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path3896-2"
d="M 13,7 V 25"
style="display:inline;fill:none;stroke:#45475a;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3898-5"
d="M 25,7 V 25"
style="fill:none;stroke:#45475a;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3900-9"
d="M 19,13 H 37"
style="fill:none;stroke:#45475a;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3902-3"
d="M 19,1 H 37"
style="display:inline;fill:none;stroke:#45475a;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
id="g2"
transform="matrix(0.77777778,0,0,1,6.2482233,-10.882995)">
<rect
style="fill:#1e1e2e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.04101;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
id="rect2"
width="9"
height="2"
x="7.3951416"
y="26.882996" />
<rect
style="fill:#1e1e2e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.04101;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
id="rect2-2"
width="9"
height="2"
x="15.109427"
y="32.882996" />
<rect
style="fill:#1e1e2e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.88642;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
id="rect2-8"
width="18"
height="2"
x="7.3951411"
y="38.882996" />
<rect
style="fill:#1e1e2e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.04101;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
id="rect3"
width="2.5714285"
height="14"
x="7.3951416"
y="26.882996" />
<rect
style="fill:#1e1e2e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.04101;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
id="rect4"
width="2.5714285"
height="7"
x="15.109427"
y="26.882996"
rx="0" />
<rect
style="fill:#1e1e2e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.04101;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
id="rect4-3"
width="2.5714285"
height="7"
x="22.823713"
y="32.882996"
rx="0" />
</g>
<g
id="g3">
<path
id="path3900-2"
d="M 30,23 H 44"
style="display:inline;fill:#1e1e2e;fill-opacity:1;stroke:#1e1e2e;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-dasharray:4, 2;stroke-dashoffset:2;stroke-opacity:1" />
<rect
style="display:inline;fill:none;fill-opacity:1;stroke:#1e1e2e;stroke-width:1.96492;stroke-dasharray:none;stroke-opacity:1"
id="rect1"
width="12"
height="12"
x="30.982452"
y="16.98246" />
</g>
<g
id="g5">
<rect
style="fill:#1e1e2e;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.8;stroke-dasharray:none;stroke-dashoffset:1;stroke-opacity:1"
id="rect3-3"
width="2"
height="14"
x="18"
y="34" />
<rect
style="display:inline;fill:none;fill-opacity:1;stroke:#1e1e2e;stroke-width:1.96492;stroke-dasharray:none;stroke-opacity:1"
id="rect1-6"
width="12"
height="12"
x="12.98246"
y="34.98246" />
</g>
</svg>