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

130 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="64px" height="64px" id="svg2980" sodipodi:version="0.32" inkscape:version="0.48.5 r10040" sodipodi:docname="Tree_Part_Box_Parametric.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1">
<defs id="defs2982">
<linearGradient inkscape:collect="always" id="linearGradient4028">
<stop style="stop-color:#0846b3;stop-opacity:1" offset="0" id="stop4030"/>
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="1" id="stop4032"/>
</linearGradient>
<linearGradient inkscape:collect="always" 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>
<inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 32 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="64 : 32 : 1" inkscape:persp3d-origin="32 : 21.333333 : 1" id="perspective2988"/>
<linearGradient gradientTransform="translate(0,-4)" inkscape:collect="always" xlink:href="#linearGradient3767" id="linearGradient3773" x1="22.116516" y1="55.717518" x2="17.328547" y2="21.31134" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" id="linearGradient3767">
<stop style="stop-color:#307bf7;stop-opacity:1" offset="0" id="stop3769"/>
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="1" id="stop3771"/>
</linearGradient>
<linearGradient gradientTransform="translate(0,-4)" inkscape:collect="always" xlink:href="#linearGradient3777" id="linearGradient3783" x1="53.896763" y1="51.179787" x2="47.502235" y2="21.83742" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" id="linearGradient3777">
<stop style="stop-color:#0846b3;stop-opacity:1" offset="0" id="stop3779"/>
<stop style="stop-color:#307bf7;stop-opacity:1" offset="1" id="stop3781"/>
</linearGradient>
<radialGradient inkscape:collect="always" 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 id="linearGradient3836-0-6-9-7">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-3-8"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-1-6"/>
</linearGradient>
<linearGradient id="linearGradient3836-0-6-92-4">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-6" id="linearGradient3801-1-3-14-0-3" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-6">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-7"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-5"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-62" id="linearGradient3801-1-3-14-0-35" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-62">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-9"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-1"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-0" id="linearGradient3801-1-3-14-0-36" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-0">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-6"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-2"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-2" id="linearGradient3801-1-3-14-0-9" gradientUnits="userSpaceOnUse" x1="-18" y1="18" x2="-22" y2="5" gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)"/>
<linearGradient id="linearGradient3836-0-6-92-4-2">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-0"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-23"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient4028" id="linearGradient4034" x1="38" y1="57" x2="26" y2="26" gradientUnits="userSpaceOnUse"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient4028" id="linearGradient4040" gradientUnits="userSpaceOnUse" x1="38" y1="57" x2="26" y2="26"/>
</defs>
<sodipodi:namedview id="base" pagecolor="#cdd6f4" bordercolor="#38394b" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="4.5405383" inkscape:cx="90.274823" inkscape:cy="12.358344" inkscape:current-layer="layer1" showgrid="true" inkscape:document-units="px" inkscape:grid-bbox="true" inkscape:window-width="1600" inkscape:window-height="837" inkscape:window-x="0" inkscape:window-y="27" inkscape:snap-bbox="false" inkscape:snap-nodes="true" inkscape:window-maximized="1">
<inkscape:grid type="xygrid" id="grid2991" empspacing="2" visible="true" enabled="true" snapvisiblegridlinesonly="true"/>
</sodipodi:namedview>
<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:creator>
<cc:Agent>
<dc:title>[jmaustpc]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Tree_Part_Plane_Parametric</dc:title>
<dc:date>2013-03-13</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/Tree_Part_Plane_Parametric.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" inkscape:label="Layer 1" inkscape:groupmode="layer">
<g id="g4036" transform="translate(0,-6)">
<path sodipodi:nodetypes="ccccc" inkscape:connector-curvature="0" id="path3240" d="M 8,46 37,56 56,29 27,21 z" style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"/>
<path sodipodi:nodetypes="ccccc" inkscape:connector-curvature="0" id="path3240-2" d="m 11.3,45 25,8.7 16.5,-23.6 -25,-6.8 z" style="fill:url(#linearGradient4040);fill-opacity:1;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"/>
</g>
<g id="g3150" transform="translate(0,-6)">
<path inkscape:connector-curvature="0" id="path3130" d="M 8,46 37,56" style="fill:none;stroke:#4c1313;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" sodipodi:nodetypes="cc"/>
<path inkscape:connector-curvature="0" id="path3130-2" d="M 8,46 37,56" style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" sodipodi:nodetypes="cc"/>
</g>
<g transform="matrix(1,0,0,-1,27,101)" id="g3150-8">
<path inkscape:connector-curvature="0" id="path3130-9" d="M 10,51 29,78" style="fill:none;stroke:#4c1313;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" sodipodi:nodetypes="cc"/>
<path inkscape:connector-curvature="0" id="path3130-2-7" d="M 10,51 29,78" style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" sodipodi:nodetypes="cc"/>
</g>
<g transform="matrix(0.5613787,1.5641823e-8,0,0.56576972,30.248143,20.558916)" id="g3827-1-3-92-1">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7">
<path inkscape:connector-curvature="0" style="fill:#f2cdcd;stroke:#4c1313;stroke-width:3.54880524;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-71-6-49-2" d="M -26.118221,5.6643347 A 8.9379793,8.8680774 0 1 1 -12.540634,17.200906 8.9379793,8.8680774 0 1 1 -26.118221,5.6643347 z"/>
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient3801-1-3-14-0-3);fill-opacity:1;stroke:#f2cdcd;stroke-width:3.54880428;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-7-3-2-5-7" d="m -23.40227,7.9744858 a 5.3439706,5.3025298 0 1 1 8.11794,6.8981452 5.3439706,5.3025298 0 0 1 -8.11794,-6.8981452 z"/>
</g>
</g>
<g transform="matrix(0.5613787,1.5641823e-8,0,0.56576972,49.248143,-6.441084)" id="g3827-1-3-92-1-2">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7-7">
<path inkscape:connector-curvature="0" style="fill:#f2cdcd;stroke:#4c1313;stroke-width:3.54880524;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-71-6-49-2-0" d="M -26.118221,5.6643347 A 8.9379793,8.8680774 0 1 1 -12.540634,17.200906 8.9379793,8.8680774 0 1 1 -26.118221,5.6643347 z"/>
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient3801-1-3-14-0-35);fill-opacity:1;stroke:#f2cdcd;stroke-width:3.54880428;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-7-3-2-5-7-9" d="m -23.40227,7.9744858 a 5.3439706,5.3025298 0 1 1 8.11794,6.8981452 5.3439706,5.3025298 0 0 1 -8.11794,-6.8981452 z"/>
</g>
</g>
<g transform="matrix(0.5613787,1.5641823e-8,0,0.56576972,1.248143,10.558916)" id="g3827-1-3-92-1-6">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7-1">
<path inkscape:connector-curvature="0" style="fill:#f2cdcd;stroke:#4c1313;stroke-width:3.54880524;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-71-6-49-2-8" d="M -26.118221,5.6643347 A 8.9379793,8.8680774 0 1 1 -12.540634,17.200906 8.9379793,8.8680774 0 1 1 -26.118221,5.6643347 z"/>
<path inkscape:connector-curvature="0" style="fill:url(#linearGradient3801-1-3-14-0-36);fill-opacity:1;stroke:#f2cdcd;stroke-width:3.54880428;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" id="path4250-7-3-2-5-7-7" d="m -23.40227,7.9744858 a 5.3439706,5.3025298 0 1 1 8.11794,6.8981452 5.3439706,5.3025298 0 0 1 -8.11794,-6.8981452 z"/>
</g>
</g>
</g>
</svg>