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

72 lines
5.2 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" width="64px" height="64px" id="svg2980" version="1.1">
<defs id="defs2982">
<linearGradient id="linearGradient3794">
<stop style="stop-color:#11111b;stop-opacity:1" offset="0" id="stop3796" />
<stop style="stop-color:#11111b;stop-opacity:0" offset="1" id="stop3798" />
</linearGradient>
<linearGradient id="linearGradient3864">
<stop id="stop3866" offset="0" style="stop-color:#89b4fa;stop-opacity:1" />
<stop id="stop3868" offset="1" style="stop-color:#0841a6;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient3767">
<stop style="stop-color:#307bf7;stop-opacity:1" offset="0" id="stop3769" />
<stop style="stop-color:#cdd5df;stop-opacity:1" offset="1" id="stop3771" />
</linearGradient>
<radialGradient xlink:href="#linearGradient3794" id="radialGradient3800" cx="1" cy="45" fx="1" fy="45" r="41" gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)" gradientUnits="userSpaceOnUse" />
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)" r="41" fy="45" fx="1" cy="45" cx="1" id="radialGradient3800-7" xlink:href="#linearGradient3794" />
<linearGradient id="linearGradient3377">
<stop id="stop3379" offset="0" style="stop-color:#0845b0;stop-opacity:1" />
<stop id="stop3381" offset="1" style="stop-color:#5190f8;stop-opacity:1" />
</linearGradient>
<linearGradient gradientTransform="matrix(-1,0,0,1,2199.356,0)" gradientUnits="userSpaceOnUse" y2="1190.875" x2="1267.9062" y1="1190.875" x1="901.1875" id="linearGradient3383" xlink:href="#linearGradient3377" />
<radialGradient gradientUnits="userSpaceOnUse" gradientTransform="matrix(-1.4307499,-1.3605156e-7,-1.202713e-8,0.1264801,2674.7488,1244.2826)" r="194.40614" fy="1424.4465" fx="1103.6399" cy="1424.4465" cx="1103.6399" id="radialGradient6355" xlink:href="#linearGradient3794" />
<linearGradient gradientUnits="userSpaceOnUse" y2="19.131313" x2="23.483253" y1="73.676765" x1="33.052631" id="linearGradient3782" xlink:href="#linearGradient3776" />
<linearGradient id="linearGradient3776">
<stop id="stop3778" offset="0" style="stop-color:#d76363;stop-opacity:1" />
<stop id="stop3780" offset="1" style="stop-color:#f2cdcd;stop-opacity:1" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3767" id="linearGradient937" gradientUnits="userSpaceOnUse" gradientTransform="translate(0,-4.0000002)" x1="55" y1="66" x2="8" y2="6.0000005" />
</defs>
<metadata id="metadata2985">
<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></dc:title>
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Tree_Part</dc:title>
<dc:date>2011-10-10</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/Part/Gui/Resources/icons/Tree_Part.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 id="layer1">
<path style="display:inline;overflow:visible;visibility:visible;opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" d="m 11,4.999938 40.24538,7.363655 V 59.00006 L 11,51.636408 Z" id="path935" />
<path id="path964" d="m 11,4.999938 40.24538,7.363655 V 59.00006 L 11,51.636408 Z" style="display:inline;overflow:visible;visibility:visible;opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#9cb2c8;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 style="fill:none;fill-rule:evenodd;stroke:#11111b;stroke-width:6;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" d="M 5,27 59,39" id="path960" />
<path id="path962" d="M 5,27 59,39" style="fill:none;fill-rule:evenodd;stroke:#9cb2c8;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1" />
</g>
</svg>