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

91 lines
7.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="svg2726" version="1.1">
<defs id="defs2728">
<linearGradient id="linearGradient3860">
<stop style="stop-color:#0846b3;stop-opacity:1" offset="0" id="stop3862" />
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="1" id="stop3864" />
</linearGradient>
<linearGradient id="linearGradient3828">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3830" />
<stop style="stop-color:#0846b3;stop-opacity:1" offset="1" id="stop3832" />
</linearGradient>
<linearGradient id="linearGradient3766">
<stop style="stop-color:#004bed;stop-opacity:1" offset="0" id="stop3768" />
<stop style="stop-color:#bbd7ff;stop-opacity:1" offset="1" id="stop3770" />
</linearGradient>
<radialGradient xlink:href="#linearGradient3144-4" id="radialGradient3850-9" gradientUnits="userSpaceOnUse" gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)" cx="225.26402" cy="672.79736" fx="225.26402" fy="672.79736" r="34.345188" />
<linearGradient id="linearGradient3144-4">
<stop style="stop-color:#cdd6f4;stop-opacity:1" offset="0" id="stop3146-2" />
<stop style="stop-color:#cdd6f4;stop-opacity:0" offset="1" id="stop3148-0" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3766-6" id="linearGradient3774-3" x1="-670.94934" y1="-470.34323" x2="-296.345" y2="-470.34323" gradientUnits="userSpaceOnUse" />
<linearGradient id="linearGradient3766-6">
<stop style="stop-color:#004bed;stop-opacity:1" offset="0" id="stop3768-7" />
<stop style="stop-color:#bbd7ff;stop-opacity:1" offset="1" id="stop3770-5" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3828" id="linearGradient3834" x1="-2.2241571" y1="759.33002" x2="281.50192" y2="728.49023" gradientUnits="userSpaceOnUse" />
<linearGradient xlink:href="#linearGradient3828" id="linearGradient3840" gradientUnits="userSpaceOnUse" x1="-2.2241571" y1="759.33002" x2="281.50192" y2="728.49023" />
<linearGradient xlink:href="#linearGradient3860" id="linearGradient3866" x1="35.238464" y1="33.039242" x2="27.980391" y2="20.136003" gradientUnits="userSpaceOnUse" />
</defs>
<metadata id="metadata2731">
<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>[DeepSOIC]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Part_Attachment</dc:title>
<dc:date>2016-05-17</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_Attachment.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="g4289" transform="matrix(0.1621282,0,0,0.1621282,6.3605986,-66.108806)">
<g transform="matrix(0,-1,-1,0,738.60196,738.60196)" id="g3888-9">
<path transform="matrix(6.1679584,0,0,6.1679584,-39.231908,407.75637)" id="path3868-1" d="M 37,15 C 28.799646,14.910168 22.4325,19.708889 17,27" style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3868-2-2" d="m 188.98255,500.27574 c -50.57944,-0.55408 -89.851731,29.04423 -123.359166,74.0155" style="fill:none;stroke:#f2cdcd;stroke-width:12.33591652;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g id="g3888" transform="translate(0,-24.671834)">
<path transform="matrix(6.1679584,0,0,6.1679584,-39.231908,407.75637)" id="path3868" d="M 37,15 C 28.799646,14.910168 22.4325,19.708889 17,27" style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3868-2" d="m 188.98255,500.27574 c -50.57944,-0.55408 -89.851731,29.04423 -123.359166,74.0155" style="fill:none;stroke:#f2cdcd;stroke-width:12.33591652;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<path style="color:#11111b;fill:#89b4fa;fill-opacity:1;fill-rule:nonzero;stroke:#052459;stroke-width:1.36476552;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" id="path2998" d="m 40.88363,26.587624 a 8.8709764,8.8709764 0 1 1 -17.741953,0 8.8709764,8.8709764 0 1 1 17.741953,0 z" transform="matrix(9.0388539,0,0,9.0388539,-32.527599,266.12206)" />
<g id="g3836" transform="matrix(0.72717141,0.71036381,-0.72717141,0.71036381,555.43637,22.856283)">
<rect y="709.98633" x="-20.728033" height="61.679588" width="320.73383" id="rect3808" style="fill:#89b4fa;stroke:#052459;stroke-width:12.13661671;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:20.4" />
<rect y="722.32227" x="-8.3921156" height="37.007721" width="296.06201" id="rect3808-5" style="fill:url(#linearGradient3840);fill-opacity:1;stroke:#89b4fa;stroke-width:12.13661671;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.5;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:20.4" />
</g>
<path style="color:#11111b;fill:url(#linearGradient3866);fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:1.61290479;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" id="path2998-6" d="m 40.88363,26.587624 a 8.8709764,8.8709764 0 1 1 -17.741953,0 8.8709764,8.8709764 0 1 1 17.741953,0 z" transform="matrix(7.6482608,0,0,7.6482608,11.988976,303.09463)" />
<g transform="matrix(0,-1,-1,0,787.94563,732.434)" id="g3888-9-7">
<path transform="matrix(6.1679584,0,0,6.1679584,-39.231908,407.75637)" id="path3868-1-0" d="M 37,15 C 28.799646,14.910168 15.432499,17.708888 9.9999992,24.999999" style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3868-2-2-9" d="M 188.98255,500.27574 C 138.40311,499.72166 55.955106,516.98405 22.447671,561.95532" style="fill:none;stroke:#f2cdcd;stroke-width:12.33591652;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g transform="matrix(-0.58735857,0.80932682,0.80932682,0.58735857,-215.63037,164.37488)" id="g3888-9-7-3">
<path transform="matrix(6.1679584,0,0,6.1679584,-39.231908,407.75637)" id="path3868-1-0-6" d="M 31.459093,15.861765 C 23.258739,15.771933 15.432499,17.708888 9.9999992,24.999999" style="fill:none;stroke:#912424;stroke-width:6;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3868-2-2-9-0" d="M 154.80647,505.59108 C 104.22703,505.037 55.955106,516.98405 22.447671,561.95532" style="fill:none;stroke:#f2cdcd;stroke-width:12.33591652;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</g>
</svg>