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

124 lines
10 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="svg3364" version="1.1">
<defs id="defs3366">
<linearGradient id="linearGradient3885">
<stop id="stop3887" offset="0" style="stop-color:#307bf7;stop-opacity:1" />
<stop id="stop3889" offset="1" style="stop-color:#0846b3;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient3833">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3835" />
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3837" />
</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>
<radialGradient xlink:href="#linearGradient3864" id="radialGradient2571" gradientUnits="userSpaceOnUse" cx="342.58258" cy="27.256668" fx="342.58258" fy="27.256668" r="19.571428" gradientTransform="matrix(1.6258409,0.5434973,-8.8819886e-2,0.2656996,-215.02413,-170.90186)" />
<radialGradient xlink:href="#linearGradient3593" id="radialGradient3352" gradientUnits="userSpaceOnUse" cx="345.28433" cy="15.560534" fx="345.28433" fy="15.560534" r="19.571428" gradientTransform="translate(-0.1767767,-2.6516504)" />
<linearGradient id="linearGradient3593">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3595" />
<stop style="stop-color:#78a9f9;stop-opacity:1" offset="1" id="stop3597" />
</linearGradient>
<radialGradient xlink:href="#linearGradient3593" id="radialGradient3354" gradientUnits="userSpaceOnUse" cx="330.63791" cy="39.962704" fx="330.63791" fy="39.962704" r="19.571428" gradientTransform="translate(-0.1767767,-2.6516504)" />
<radialGradient xlink:href="#linearGradient3864" id="radialGradient3369" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.6258409,0.5434973,-8.8819886e-2,0.2656996,-461.81066,-173.06271)" cx="342.58258" cy="27.256668" fx="342.58258" fy="27.256668" r="19.571428" />
<linearGradient id="linearGradient3864-4">
<stop id="stop3866-5" offset="0" style="stop-color:#89b4fa;stop-opacity:1" />
<stop id="stop3868-2" offset="1" style="stop-color:#0841a6;stop-opacity:1" />
</linearGradient>
<radialGradient r="19.571428" fy="113.23357" fx="320.44025" cy="113.23357" cx="320.44025" gradientTransform="matrix(0.9829174,1.3240854,-1.2330051,0.8105158,-138.75617,-494.52855)" gradientUnits="userSpaceOnUse" id="radialGradient3036" xlink:href="#linearGradient3864-4" />
<radialGradient xlink:href="#linearGradient3864-6" id="radialGradient3007-9" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.9829174,1.3240854,-1.2330051,0.8105158,-189.40979,-484.51702)" cx="320.44025" cy="113.23357" fx="320.44025" fy="113.23357" r="19.571428" />
<linearGradient id="linearGradient3864-6">
<stop id="stop3866-0" offset="0" style="stop-color:#89b4fa;stop-opacity:1" />
<stop id="stop3868-9" offset="1" style="stop-color:#0841a6;stop-opacity:1" />
</linearGradient>
<radialGradient xlink:href="#linearGradient3864-1" id="radialGradient3960" gradientUnits="userSpaceOnUse" gradientTransform="matrix(2.2993671,-0.01575726,0.0084161,0.9850979,-94.354208,-10.998387)" cx="48.288067" cy="46.74614" fx="48.288067" fy="46.74614" r="19.571428" />
<linearGradient id="linearGradient3864-1">
<stop id="stop3866-9" offset="0" style="stop-color:#89b4fa;stop-opacity:1" />
<stop id="stop3868-0" offset="1" style="stop-color:#0841a6;stop-opacity:1" />
</linearGradient>
<radialGradient r="19.571428" fy="32.799232" fx="41.803806" cy="32.799232" cx="41.803806" gradientTransform="matrix(-0.70352355,2.1948421,-1.0402627,-0.30894741,102.4266,-56.052881)" gradientUnits="userSpaceOnUse" id="radialGradient3986-4" xlink:href="#linearGradient3864-1-9" />
<linearGradient id="linearGradient3864-1-9">
<stop id="stop3866-9-6" offset="0" style="stop-color:#89b4fa;stop-opacity:1" />
<stop id="stop3868-0-6" offset="1" style="stop-color:#0841a6;stop-opacity:1" />
</linearGradient>
<radialGradient r="19.571428" fy="46.74614" fx="48.288067" cy="46.74614" cx="48.288067" gradientTransform="matrix(0.01575726,2.2993671,-0.9850979,0.0084161,52.182614,-97.493771)" gradientUnits="userSpaceOnUse" id="radialGradient4024" xlink:href="#linearGradient3864-1-9" />
<radialGradient xlink:href="#linearGradient3593-5" id="radialGradient3966" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.9327663,0,0,0.9327663,-298.15651,8.1913381)" cx="330.63791" cy="39.962704" fx="330.63791" fy="39.962704" r="19.571428" />
<linearGradient id="linearGradient3593-5">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3595-2" />
<stop style="stop-color:#78a9f9;stop-opacity:1" offset="1" id="stop3597-5" />
</linearGradient>
<radialGradient r="19.571428" fy="6.0560789" fx="374.42535" cy="6.0560789" cx="374.42535" gradientTransform="matrix(0.52013132,0.80077671,-0.81763607,0.49523365,-185.59014,-277.02153)" gradientUnits="userSpaceOnUse" id="radialGradient4061-4" xlink:href="#linearGradient3593-5-4" />
<linearGradient id="linearGradient3593-5-4">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3595-2-8" />
<stop style="stop-color:#78a9f9;stop-opacity:1" offset="1" id="stop3597-5-4" />
</linearGradient>
<radialGradient r="19.571428" fy="39.962704" fx="330.63791" cy="39.962704" cx="330.63791" gradientTransform="matrix(0.9327663,0,0,0.9327663,-302.00666,-27.942952)" gradientUnits="userSpaceOnUse" id="radialGradient4099" xlink:href="#linearGradient3593-5-4" />
<linearGradient id="linearGradient3864-1-9-2">
<stop id="stop3866-9-6-6" offset="0" style="stop-color:#89b4fa;stop-opacity:1" />
<stop id="stop3868-0-6-8" offset="1" style="stop-color:#0841a6;stop-opacity:1" />
</linearGradient>
<radialGradient r="19.571428" fy="6.0560789" fx="374.42535" cy="6.0560789" cx="374.42535" gradientTransform="matrix(0.52013132,0.80077671,-0.81763607,0.49523365,-185.59014,-276.99255)" gradientUnits="userSpaceOnUse" id="radialGradient4061-4-8" xlink:href="#linearGradient3593-5-4-9" />
<linearGradient id="linearGradient3593-5-4-9">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3595-2-8-8" />
<stop style="stop-color:#78a9f9;stop-opacity:1" offset="1" id="stop3597-5-4-8" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3833" id="linearGradient3839" x1="90" y1="17" x2="93" y2="47" gradientUnits="userSpaceOnUse" gradientTransform="translate(-40,60)" />
<linearGradient xlink:href="#linearGradient3833-7" id="linearGradient3839-6" x1="90" y1="17" x2="93" y2="47" gradientUnits="userSpaceOnUse" gradientTransform="translate(-40,60)" />
<linearGradient id="linearGradient3833-7">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3835-5" />
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3837-3" />
</linearGradient>
<linearGradient y2="42" x2="86" y1="17" x1="90" gradientTransform="translate(-40,60)" gradientUnits="userSpaceOnUse" id="linearGradient3862" xlink:href="#linearGradient3885" />
<linearGradient xlink:href="#linearGradient3833" id="linearGradient3893" gradientUnits="userSpaceOnUse" gradientTransform="translate(-40,60)" x1="90" y1="17" x2="93" y2="47" />
</defs>
<metadata id="metadata3369">
<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>Part_Mirror</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/Part_Mirror.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">
<g id="g3922">
<g id="g3841" transform="translate(0,-60)">
<path id="path3045" d="m 41,69 20,10 0,36 -20,-12 z" style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path id="path3045-3" d="m 43,72.2 16,8 0,31.3 -16,-9.6 z" style="fill:url(#linearGradient3893);fill-opacity:1;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g transform="matrix(-1,0,0,1,64,-60)" id="g3841-5">
<path id="path3045-6" d="m 41,69 20,10 0,36 -20,-12 z" style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path id="path3045-3-2" d="m 43,72.2 16,8 0,31.3 -16,-9.6 z" style="fill:url(#linearGradient3862);fill-opacity:1;stroke:#307bf7;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<path style="fill:none;stroke:#4c1313;stroke-width:8;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:8, 16;stroke-dashoffset:2" d="M 32,5.9999998 32,58" id="path3891" />
<path style="fill:none;stroke:#d76363;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:8, 16;stroke-dashoffset:2" d="m 32,6 0,52" id="path3891-9" />
<path style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:8, 16;stroke-dashoffset:2" d="m 31,5.7 0,52" id="path3891-9-1" />
</g>
</g>
</svg>