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

141 lines
5.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="svg2160"
height="64"
width="64"
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/">
<title
id="title845">TechDraw_TreeSection</title>
<defs
id="defs2162">
<linearGradient
id="linearGradient3020">
<stop
style="stop-color:#313244;stop-opacity:1"
offset="0"
id="stop3022" />
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="1"
id="stop3024" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="19.585159"
x2="22.600058"
y1="22.427111"
x1="24.011684"
id="linearGradient3841"
xlink:href="#linearGradient3827"
gradientTransform="matrix(1.125,0,0,1.125,-2.6044404,-2.3593338)" />
<linearGradient
id="linearGradient3827">
<stop
id="stop3829"
offset="0"
style="stop-color:#6c7086;stop-opacity:1" />
<stop
id="stop3831"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="matrix(1.125,0,0,-1.125,-4,-1.125)"
gradientUnits="userSpaceOnUse"
y2="13"
x2="26"
y1="-15"
x1="32"
id="linearGradient3833"
xlink:href="#linearGradient3020" />
</defs>
<metadata
id="metadata2165">
<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>TechDraw_TreeSection</dc:title>
<dc:creator>
<cc:Agent>
<dc:title>[WandererFan]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>TechDraw_TreeSection</dc:title>
<dc:date>2016-04-27</dc:date>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_TreeSection.svg</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="matrix(0.88888889,0,0,0.88888889,3.5555556,32)"
id="layer1"
style="stroke-width:1.125">
<path
y="-27"
x="5"
height="54"
width="54"
id="rect4138-1"
style="display:inline;fill:none;stroke:#1e1e2e;stroke-width:6.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:8.775;stroke-opacity:1"
d="M 5,-22.5 V -27 h 4.5 m 9,0 h 9 m 9,0 h 9 m 9,0 H 59 l 0,4.5 m 0,9 v 9 m 0,9 v 9 m 0,9 V 27 h -4.5 m -9,0 h -9 m -9,0 h -9 m -9,0 H 5 v -4.5 m 0,-9 v -9 m 0,-9 v -9 m 0,-9 V -27" />
<path
y="-27"
x="5"
height="54"
width="54"
id="path1"
style="display:inline;fill:none;stroke:#7f849c;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:8.775;stroke-opacity:1"
d="M 5,-22.5 V -27 h 4.5 m 9,0 h 9 m 9,0 h 9 m 9,0 H 59 l 0,4.5 m 0,9 v 9 m 0,9 v 9 m 0,9 V 27 h -4.5 m -9,0 h -9 m -9,0 h -9 m -9,0 H 5 v -4.5 m 0,-9 v -9 m 0,-9 v -9 m 0,-9 V -27" />
<path
id="path7047-7"
d="M 13,17 V -17 H 51 V 8.000001 H 27 C 27,8.000001 27,17 19,17 c -4,0 -6,0 -6,0 z"
style="fill:url(#linearGradient3833);fill-opacity:1;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path7047-4"
d="M 15,15 V -15 H 49 V 5.9999998 H 25 C 25,5.9999998 25,15 20,15 c -4,0 -5,0 -5,0 z"
style="fill:none;stroke:#6c7086;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<ellipse
ry="2.4867074"
rx="2.4703476"
cy="21.006134"
cx="22.952965"
transform="matrix(2.8336091,0,0,2.8149673,-27.039729,-53.131581)"
id="path7049-4"
style="fill:url(#linearGradient3841);fill-opacity:1;stroke:#1e1e2e;stroke-width:0.796665;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<ellipse
ry="2.4867074"
rx="2.4703476"
cy="21.006134"
cx="22.952965"
transform="matrix(2.0240063,0,0,2.0106911,-8.4569449,-36.236847)"
id="path7049-0"
style="fill:none;stroke:#cdd6f4;stroke-width:1.11533;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
</svg>