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

85 lines
6.8 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="svg2980" version="1.1">
<defs id="defs2982">
<linearGradient id="linearGradient3794">
<stop style="stop-color:#11111b;stop-opacity:1" offset="0" id="stop3796" />
<stop style="stop-color:#11111b;stop-opacity:0" offset="1" id="stop3798" />
</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>
<linearGradient gradientTransform="translate(0,-4)" xlink:href="#linearGradient3767" id="linearGradient3773" x1="22.116516" y1="55.717518" x2="17.328547" y2="21.31134" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3767">
<stop style="stop-color:#f8c459;stop-opacity:1" offset="0" id="stop3769" />
<stop style="stop-color:#f9e2af;stop-opacity:1" offset="1" id="stop3771" />
</linearGradient>
<linearGradient gradientTransform="translate(0,-4)" xlink:href="#linearGradient3777" id="linearGradient3783" x1="53.896763" y1="51.179787" x2="47.502235" y2="21.83742" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3777">
<stop style="stop-color:#bc8009;stop-opacity:1" offset="0" id="stop3779" />
<stop style="stop-color:#f8c459;stop-opacity:1" offset="1" id="stop3781" />
</linearGradient>
<radialGradient xlink:href="#linearGradient3794" id="radialGradient3800" cx="1" cy="45" fx="1" fy="45" r="41" gradientTransform="matrix(0.93348213,-2.2905276e-8,0,0.28687573,0.06651751,32.090592)" gradientUnits="userSpaceOnUse" />
<linearGradient gradientTransform="translate(-32,-36)" xlink:href="#linearGradient3767-6" id="linearGradient3773-3" x1="22.116516" y1="55.717518" x2="17.328547" y2="21.31134" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3767-6">
<stop style="stop-color:#307bf7;stop-opacity:1" offset="0" id="stop3769-7" />
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="1" id="stop3771-5" />
</linearGradient>
<linearGradient gradientTransform="translate(-32,-36)" xlink:href="#linearGradient3777-5" id="linearGradient3783-3" x1="53.896763" y1="51.179787" x2="47.502235" y2="21.83742" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3777-5">
<stop style="stop-color:#0846b3;stop-opacity:1" offset="0" id="stop3779-6" />
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3781-2" />
</linearGradient>
</defs>
<metadata id="metadata2985">
<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_Box</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_Box.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="g4185" transform="matrix(0.66,0,0,0.66,24.009277,20.913856)">
<path id="path2993-9" d="m -29,-19 34,6 24,-8 -30,-4 z" style="fill:#89b4fa;stroke:#052459;stroke-width:3.03030303;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<path id="path2995-1" d="M 29,-21 29,15 5,25 5,-13 Z" style="fill:url(#linearGradient3783-3);fill-opacity:1;stroke:#052459;stroke-width:3.03030303;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<path style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3773-3);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:3.030303;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" d="M -29,-19 4.5508465,-13.089831 4.3711851,24.820339 -29,19 Z" id="path3825-2" />
<path id="path3765-7" d="m -26.237761,-16.064121 -0.24538,33.029838 28.400747,5.06734 -0.07222,-32.996227 z" style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path id="path3775-0" d="M 7.01243,-11.058008 7.00017,21.969134 27.001275,13.668141 26.620516,-17.564023 Z" style="fill:none;stroke:#307bf7;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g id="g4192" transform="matrix(0.66,0,0,0.66,19.293871,22.570766)">
<path id="path2993" d="M 3,13 37,19 61,11 31,7 Z" style="fill:#f9e2af;stroke:#664506;stroke-width:3.03030303;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<path id="path2995" d="M 61,11 61,47 37,57 37,19 Z" style="fill:url(#linearGradient3783);fill-opacity:1;stroke:#664506;stroke-width:3.03030303;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
<path style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3773);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:3.030303;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" d="M 3,13 36.364801,19.25408 36.281354,56.820339 3,51 Z" id="path3825" />
<path id="path3765" d="M 5.4491535,15.966704 5.6374849,48.987513 33.58005,53.896989 33.751011,21.310836 Z" style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3775" d="m 39.01243,20.433833 -0.01226,33.535301 20.001105,-8.300993 3.6e-4,-31.867363 z" style="fill:none;stroke:#f8c459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>