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

132 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="svg2160"
height="64"
width="64">
<title
id="title842">TechDraw_TreeView</title>
<defs
id="defs2162">
<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="translate(0,1)"
gradientUnits="userSpaceOnUse"
y2="-17"
x2="28"
y1="14"
x1="34"
id="linearGradient3833"
xlink:href="#linearGradient3827" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="19.585159"
x2="22.600058"
y1="22.427111"
x1="24.011684"
id="linearGradient3841"
xlink:href="#linearGradient3827" />
</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:creator>
<cc:Agent>
<dc:title>[WandererFan]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>TechDraw_TreeView</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_TreeView.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>
<dc:subject>
<rdf:Bag>
<rdf:li>dashed line</rdf:li>
<rdf:li>monotone</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Irregular shape in the center framed by a dashed outline</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(0,32)"
id="layer1">
<rect
y="-27"
x="5"
height="54"
width="54"
id="rect4138"
style="fill:none;stroke:#1e1e2e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:6, 12;stroke-dashoffset:7.8;stroke-opacity:1" />
<path
id="path7047"
d="M 13,-17 V 17 H 51 V -8.0000003 H 27 C 27,-8.0000003 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;stroke-linecap:round;stroke-linejoin:round;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,-54.131581)"
id="path7049"
style="fill:url(#linearGradient3841);fill-opacity:1;stroke:#1e1e2e;stroke-width:0.708147;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
y="-27"
x="5"
height="54"
width="54"
id="rect4138-7"
style="fill:none;stroke:#585b70;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:6, 12;stroke-dashoffset:7.8;stroke-opacity:1" />
<path
id="path7047-4"
d="M 15,-15 V 15 H 49 V -6 H 25 c 0,0 0,-9 -5,-9 -4,0 -5,0 -5,0 z"
style="fill:none;stroke:#cdd6f4;stroke-width:2;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.0240063,0,0,2.0106911,-8.4569445,-37.236847)"
id="path7049-0"
style="fill:none;stroke:#cdd6f4;stroke-width:0.991406;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
</svg>