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

86 lines
7.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:osb="http://www.openswatchbook.org/uri/2009/osb" 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="linearGradient4513" osb:paint="solid">
<stop style="stop-color:#ff0900;stop-opacity:1" offset="0" id="stop4515" />
</linearGradient>
<marker orient="auto" refY="0.0" refX="0.0" id="Arrow2Lstart" style="overflow:visible">
<path id="path3909" style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round" d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z " transform="scale(1.1) translate(1,0)" />
</marker>
<linearGradient id="linearGradient3864" osb:paint="gradient">
<stop id="stop3866" offset="0" style="stop-color:#89b4fa;stop-opacity:0.44347826" />
<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 xlink:href="#linearGradient3864" id="linearGradient3828" x1="20.383333" y1="32.634235" x2="52.726578" y2="32.634235" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.1630793,0,0,1.1396343,-122.5166,3.4151415)" />
<linearGradient xlink:href="#linearGradient3864-1" id="linearGradient3828-2" x1="20.383333" y1="32.634235" x2="52.726578" y2="32.634235" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3864-1">
<stop id="stop3866-6" offset="0" style="stop-color:#89b4fa;stop-opacity:1" />
<stop id="stop3868-7" offset="1" style="stop-color:#0841a6;stop-opacity:1" />
</linearGradient>
<linearGradient gradientTransform="matrix(1.1630793,0,0,1.1396343,-146.25599,14.322778)" y2="32.634235" x2="52.726578" y1="32.634235" x1="20.383333" gradientUnits="userSpaceOnUse" id="linearGradient3845" xlink:href="#linearGradient3864-1" />
</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_Sweep</dc:title>
<dc:date>2012-06-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_Sweep.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="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 59,39 C 52,49 34,57 21,57 L 5,51 c 13,0 23,-8 30,-18 z" id="path3881-2" />
<path style="fill:#0846b3;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 21,57 21,41 C 33,40 43,25 47,13 L 59,39 C 52,49 34,57 21,57 z" id="path3861-56" />
<path style="opacity:0.6;fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 59,39 C 52,49 34,57 21,57 L 5,51 c 13,0 23,-8 30,-18 z" id="path3881" />
<path style="fill:#0846b3;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 5,51 5,35 C 17,34 19,19 23,7 L 35,33 C 28,43 18,51 5,51 z" id="path3861-5" />
<g id="g3836" transform="translate(48,4)">
<path id="path3031" d="m -43,31 16,6 0,16 -16,-6 z" style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path id="path3031-6" d="m -43,31 16,6 0,16 -16,-6 z" style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
</g>
<g id="g4027">
<path id="path3942" d="M 6,48 C 32,48 47,44 58,6" 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:1.6" />
<path id="path3942-7" d="M 6,48 C 32,48 47,44 58,6" 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:1.6" />
<path id="path3942-7-0" d="M 6,47 C 32,47 46.257799,43.628016 57.257799,5.6280162" 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:1.6" />
</g>
<path style="opacity:0.6;fill:#0846b3;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 21,57 21,41 C 33,40 43,25 47,13 L 59,39 C 52,49 34,57 21,57 z" id="path3861" />
<path style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 47,13 C 43,25 33,41 21,41 L 5,35 C 17,34 19,19 23,7 z" id="path3881-3" />
<path style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" d="m 23,7 24,6 12,26" id="path3922" />
<path style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" d="m 23,7 24,6 12,26" id="path3922-9" />
<path style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" d="m 5,35 16,6 0,16" id="path4032" />
<path style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" d="m 5,41 0,-6 16,6 0,16 -9,-3.4" id="path4034" />
</g>
</svg>