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

71 lines
6.6 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" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64" height="64" viewBox="0 0 18.062222 18.062221" version="1.1" id="svg6662" inkscape:version="0.48.5 r10040" sodipodi:docname="Part_JoinConnect.svg">
<metadata id="metadata6694">
<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:creator>
<cc:Agent>
<dc:title>[DeepSOIC]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Part_JoinCutout</dc:title>
<dc:date>2015-06-04</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_JoinCutout.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>
<defs id="defs6692">
<linearGradient inkscape:collect="always" id="linearGradient3824">
<stop style="stop-color:#89b4fa;stop-opacity:1;" offset="0" id="stop3826"/>
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3828"/>
</linearGradient>
<linearGradient inkscape:collect="always" id="linearGradient3796">
<stop style="stop-color:#89b4fa;stop-opacity:1;" offset="0" id="stop3798"/>
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3800"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4391" id="radialGradient3552" gradientUnits="userSpaceOnUse" cx="48.645836" cy="25.149042" fx="48.645836" fy="25.149042" r="19.571428"/>
<linearGradient id="linearGradient4391">
<stop style="stop-color:#89b4fa;stop-opacity:1;" offset="0" id="stop4393"/>
<stop style="stop-color:#0841a6;stop-opacity:1;" offset="1" id="stop4395"/>
</linearGradient>
<radialGradient r="19.571428" fy="25.149042" fx="48.645836" cy="25.149042" cx="48.645836" gradientUnits="userSpaceOnUse" id="radialGradient6546" xlink:href="#linearGradient4391" inkscape:collect="always"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4391" id="radialGradient7250" cx="4.8811665" cy="14.492186" fx="4.8811665" fy="14.492186" r="3.7374249" gradientTransform="matrix(-0.81470605,-0.00967045,0.03403256,-2.8671429,8.3666287,41.405173)" gradientUnits="userSpaceOnUse"/>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient4391" id="radialGradient7271" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-0.81470605,-0.00967045,0.03403256,-2.8671429,8.3666287,41.405173)" cx="4.8811665" cy="14.492186" fx="4.8811665" fy="14.492186" r="3.7374249"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3796" id="linearGradient3802" x1="3.3866665" y1="1.4111106" x2="5.3622222" y2="16.65111" gradientUnits="userSpaceOnUse" gradientTransform="translate(5.08,0)"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3824" id="linearGradient3830" x1="12.982222" y1="6.7733326" x2="14.675555" y2="11.853333" gradientUnits="userSpaceOnUse"/>
</defs>
<sodipodi:namedview pagecolor="#cdd6f4" bordercolor="#38394b" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1600" inkscape:window-height="873" id="namedview6690" showgrid="true" inkscape:zoom="15.920092" inkscape:cx="28.722013" inkscape:cy="6.0488968" inkscape:window-x="0" inkscape:window-y="27" inkscape:window-maximized="1" inkscape:current-layer="svg6662" inkscape:snap-bbox="true" inkscape:snap-nodes="true">
<inkscape:grid type="xygrid" id="grid3006" empspacing="2" visible="true" enabled="true" snapvisiblegridlinesonly="true"/>
</sodipodi:namedview>
<rect style="fill:#89b4fa;fill-opacity:1;stroke:#052459;stroke-width:0.56444442;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:20.4" id="rect3008" width="7.3377771" height="16.368889" x="5.9266663" y="0.84666622"/>
<rect style="fill:url(#linearGradient3802);fill-opacity:1;stroke:#89b4fa;stroke-width:0.56444442;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:20.4" id="rect3008-3" width="6.208889" height="15.24" x="6.4911108" y="1.4111106"/>
<path style="fill:none;stroke:#912424;stroke-width:1.69333327;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="m 6.4911111,1.4111106 0,15.2400004" id="path3832" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#f2cdcd;stroke-width:0.56444442;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="m 6.4911111,1.4111106 0,15.2399994" id="path3832-7" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#912424;stroke-width:1.69333327;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="m 12.7,1.4111106 0,5.0799999" id="path3832-5" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<path style="fill:none;stroke:#f2cdcd;stroke-width:0.56444442;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" d="m 12.7,1.4111106 0,5.0799999" id="path3832-7-3" inkscape:connector-curvature="0" sodipodi:nodetypes="cc"/>
<g id="g3894" transform="matrix(1,0,0,-1,8.4666669,22.013332)">
<path sodipodi:nodetypes="cc" inkscape:connector-curvature="0" id="path3832-5-5" d="m 4.233333,5.3622217 2e-7,4.5155555" style="fill:none;stroke:#912424;stroke-width:1.69333327;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"/>
<path sodipodi:nodetypes="cc" inkscape:connector-curvature="0" id="path3832-7-3-6" d="m 4.233333,5.3622217 2e-7,4.5155555" style="fill:none;stroke:#f2cdcd;stroke-width:0.56444442;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1"/>
</g>
</svg>