Files
create/icons/themed/Part_Offset.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.3 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="svg2682" version="1.1">
<defs id="defs2684">
<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="matrix(0.9327663,0,0,0.9327663,-298.15651,8.1913381)" />
<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="radialGradient2401" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.959337,0.05179994,0,0.7352325,-29.610908,-1.231413)" cx="51.105499" cy="23.807407" fx="51.105499" fy="23.807407" r="19.571428" />
<radialGradient xlink:href="#linearGradient3864" id="radialGradient2404" gradientUnits="userSpaceOnUse" gradientTransform="matrix(2.2993671,-1.5757258e-2,8.4161044e-3,0.9850979,-94.354208,-10.998387)" cx="48.288067" cy="46.74614" fx="48.288067" fy="46.74614" r="19.571428" />
<radialGradient xlink:href="#linearGradient3593" id="radialGradient3377" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.9327663,0,0,0.9327663,-267.16323,12.515981)" cx="317.68173" cy="35.227276" fx="317.68173" fy="35.227276" r="19.571428" />
<radialGradient xlink:href="#linearGradient3864-7" id="radialGradient2404-1" 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-7">
<stop id="stop3866-4" 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="46.74614" fx="48.288067" cy="46.74614" cx="48.288067" gradientTransform="matrix(2.2993671,-0.01575726,0.0084161,0.9850979,-94.867845,6.893181)" gradientUnits="userSpaceOnUse" id="radialGradient3014" xlink:href="#linearGradient3864-7" />
<linearGradient xlink:href="#linearGradient3895" id="linearGradient3837" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.00239211,0.99999714,-0.99999714,0.00239211,-0.10300017,-24.117089)" x1="51.973827" y1="35.978416" x2="33.98584" y2="30.935377" />
<linearGradient id="linearGradient3895">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3897" />
<stop style="stop-color:#0846b3;stop-opacity:1" offset="1" id="stop3899" />
</linearGradient>
</defs>
<metadata id="metadata2687">
<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>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title></dc:title>
<dc:date>2012-11-25</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_Offset.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="g3381">
<path style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 5,39 25,29 57,31 37,41 z" id="path3027" />
<g id="g3833" transform="matrix(1,0.05882353,0,-1,61.95699,41.822476)">
<path id="path3343" d="m -14.956988,18.942653 -10,0 10e-7,-14 -14.000001,0 0,14 -10,0 17,18 z" style="fill:url(#linearGradient3837);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path id="path3343-2" d="m -19.638282,20.942653 -7.318706,0 -1e-6,-14 -9.999999,0 0,14 -7.395261,0 12.395261,13 z" style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
<path style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 5,59 25,49 57,51 37,61 z" id="path3027-3" />
</g>
</g>
</svg>