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

90 lines
8.4 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="linearGradient3803">
<stop style="stop-color:#307bf7;stop-opacity:1" offset="0" id="stop3805" />
<stop style="stop-color:#0846b3;stop-opacity:1" offset="1" id="stop3807" />
</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" />
<radialGradient xlink:href="#linearGradient3593" id="radialGradient3372" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-327.50313,-4.3316646)" cx="345.28433" cy="15.560534" fx="345.28433" fy="15.560534" r="19.571428" />
<radialGradient xlink:href="#linearGradient3593" id="radialGradient3375" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-287.81791,-28.143054)" cx="330.63791" cy="39.962704" fx="330.63791" fy="39.962704" r="19.571428" />
<radialGradient xlink:href="#linearGradient3864" id="radialGradient3380" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.9829174,1.3240854,-1.2330051,0.8105158,-131.04134,-483.74563)" cx="320.44025" cy="113.23357" fx="320.44025" fy="113.23357" r="19.571428" />
<linearGradient xlink:href="#linearGradient3864" id="linearGradient3914" x1="6.94525" y1="36.838673" x2="48.691113" y2="36.838673" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-4.8699606,-2.3863162)" />
<linearGradient xlink:href="#linearGradient3864" id="linearGradient3792" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-4.8699606,-2.3863162)" x1="6.8300767" y1="34.146042" x2="48.691113" y2="36.838673" />
<radialGradient xlink:href="#linearGradient3864" id="radialGradient3812" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-287.81791,-28.143054)" cx="330.63791" cy="39.962704" fx="330.63791" fy="39.962704" r="19.571428" />
<radialGradient xlink:href="#linearGradient3593" id="radialGradient3814" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1.0012324,0,0,0.9421773,-327.50313,-4.3316646)" cx="345.28433" cy="15.560534" fx="345.28433" fy="15.560534" r="19.571428" />
<radialGradient xlink:href="#linearGradient3864" id="radialGradient3816" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.9829174,1.3240854,-1.2330051,0.8105158,-131.04134,-483.74563)" cx="320.44025" cy="113.23357" fx="320.44025" fy="113.23357" r="19.571428" />
<linearGradient xlink:href="#linearGradient3864" id="linearGradient3828" x1="20.383333" y1="32.634235" x2="52.726578" y2="32.634235" gradientUnits="userSpaceOnUse" />
<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="translate(-20.410811,9.5711709)" y2="32.634235" x2="52.726578" y1="32.634235" x1="20.383333" gradientUnits="userSpaceOnUse" id="linearGradient3845" xlink:href="#linearGradient3864-1" />
<linearGradient xlink:href="#linearGradient3803" id="linearGradient3809" x1="-28" y1="22" x2="-26" y2="39" gradientUnits="userSpaceOnUse" gradientTransform="translate(64,8)" />
<linearGradient gradientTransform="translate(-16,22)" xlink:href="#linearGradient3803-7" id="linearGradient3809-6" x1="-28" y1="22" x2="-26" y2="39" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3803-7">
<stop style="stop-color:#307bf7;stop-opacity:1" offset="0" id="stop3805-5" />
<stop style="stop-color:#0846b3;stop-opacity:1" offset="1" id="stop3807-3" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3803-7" id="linearGradient3848" gradientUnits="userSpaceOnUse" gradientTransform="translate(-16,22)" x1="-28" y1="22" x2="-26" y2="39" />
</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:creator>
<cc:Agent>
<dc:title>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title></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_Loft.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="g3844" transform="translate(66,-18)">
<path id="path3015-5" d="m -29,33 4,36 -32,-4 0,-16 z" style="fill:#0846b3;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path id="path3015-3-6" d="m -27,34.4 0,32.3 -28,-3.5 0,-13 z" style="fill:url(#linearGradient3848);fill-opacity:1;stroke:#307bf7;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<path style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 25,11 9,31 23,35 55,17 z" id="path3013" />
<path style="fill:#0846b3;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="M 55,17 55,55 23,51 23,35 z" id="path3015" />
<path style="fill:url(#linearGradient3809);fill-opacity:1;stroke:#307bf7;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" d="m 53,20.4 0,32.3 -28,-3.5 0,-13 z" id="path3015-3" />
<path style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="m 9,31 0,16 14,4 0,-16 z" id="path3850" />
<path style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" d="m 9,31 0,16 14,4 0,-16 z" id="path3850-2" />
<path style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="m 25,11 30,6 0,38" id="path3870" />
<path style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="m 25,11 30,6 0,38" id="path3870-9" />
</g>
</svg>