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

119 lines
13 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="svg2821" sodipodi:version="0.32" inkscape:version="0.48.5 r10040" sodipodi:docname="Part_Cylinder.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1">
<defs id="defs2823">
<linearGradient inkscape:collect="always" id="linearGradient3801">
<stop style="stop-color:#0846b3;stop-opacity:1" offset="0" id="stop3803"/>
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="1" id="stop3805"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3377" id="radialGradient3701" gradientUnits="userSpaceOnUse" cx="84.883324" cy="77.042847" fx="84.883324" fy="77.042847" r="19.467436" gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"/>
<linearGradient id="linearGradient3377">
<stop id="stop3379" offset="0" style="stop-color:#f9d791;stop-opacity:1;"/>
<stop id="stop3381" offset="1" style="stop-color:#f8ca69;stop-opacity:1;"/>
</linearGradient>
<radialGradient inkscape:collect="always" xlink:href="#linearGradient3377" id="radialGradient3699" gradientUnits="userSpaceOnUse" cx="76.383331" cy="94.369568" fx="76.383331" fy="94.369568" r="19.467436" gradientTransform="matrix(0.9818943,0.1894295,-0.4109427,2.1300924,40.163453,-121.11559)"/>
<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="perspective2829"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3801" id="linearGradient3807" x1="110" y1="35" x2="85" y2="35" gradientUnits="userSpaceOnUse" spreadMethod="reflect" gradientTransform="translate(-62,0)"/>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3801-5" id="linearGradient3807-7" x1="110" y1="35" x2="85" y2="35" gradientUnits="userSpaceOnUse" spreadMethod="reflect" gradientTransform="translate(-62,-16)"/>
<linearGradient inkscape:collect="always" id="linearGradient3801-5">
<stop style="stop-color:#bc8009;stop-opacity:1" offset="0" id="stop3803-3"/>
<stop style="stop-color:#f9e2af;stop-opacity:1" offset="1" id="stop3805-5"/>
</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-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-6-7" id="linearGradient3801-1-3-14-0-3-0" 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-7">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-7-6"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-5-0"/>
</linearGradient>
<linearGradient inkscape:collect="always" xlink:href="#linearGradient3836-0-6-92-4-6-7-3" id="linearGradient3801-1-3-14-0-3-0-1" 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-7-3">
<stop style="stop-color:#912424;stop-opacity:1" offset="0" id="stop3838-2-7-06-8-7-6-1"/>
<stop style="stop-color:#f2cdcd;stop-opacity:1" offset="1" id="stop3840-5-5-8-7-5-0-2"/>
</linearGradient>
</defs>
<sodipodi:namedview id="base" pagecolor="#cdd6f4" bordercolor="#38394b" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="3.6040039" inkscape:cx="80.088702" inkscape:cy="29.971315" 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:window-maximized="1" inkscape:snap-bbox="false" inkscape:snap-nodes="true">
<inkscape:grid type="xygrid" id="grid2992" empspacing="2" visible="true" enabled="true" snapvisiblegridlinesonly="true"/>
</sodipodi:namedview>
<metadata id="metadata2826">
<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_Cylinder_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_Cylinder_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">
<path style="fill:#89b4fa;stroke:#052459;stroke-width:1.99999988000000006;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.50000000000000000;stroke-opacity:1;stroke-dashoffset:20.39999999999999858" d="m 55.000001,53 c 0,4.418278 -10.745166,8 -24,8 C 17.745168,61 7.000002,57.418278 7.000002,53 L 7,11 54.999999,11 z" id="path2994-3" inkscape:connector-curvature="0" sodipodi:nodetypes="sscccs"/>
<path style="fill:url(#linearGradient3807);fill-opacity:1;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.50000000000000000;stroke-opacity:1;stroke-dashoffset:20.39999999999999858" d="M 53,51.727273 C 53,55.743889 43.15027,59 31,59 18.849736,59 9.000001,55.743889 9.000001,51.727273 l -2e-6,-38 44.000001,0 z" id="path2994-3-6" inkscape:connector-curvature="0" sodipodi:nodetypes="sscccs"/>
<path style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.50000000000000000;stroke-opacity:1;stroke-dashoffset:20.39999999999999858" d="M 53,15.727273 C 51,19 43.15027,21 31,21 18.849736,21 12,19 9.000001,15.727273" id="path2994-3-6-9" inkscape:connector-curvature="0" sodipodi:nodetypes="csc"/>
<path sodipodi:type="arc" style="fill:#89b4fa;stroke:#052459;stroke-width:1.75000000000000000;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.50000000000000000;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:20.39999999999999858" id="path2994" sodipodi:cx="-35" sodipodi:cy="25" sodipodi:rx="21" sodipodi:ry="7" d="m -14,25 a 21,7 0 1 1 -42,0 21,7 0 1 1 42,0 z" transform="matrix(1.1428571,0,0,1.1428571,71,-17.571428)"/>
<g id="g3150" transform="translate(-64,-22)">
<path inkscape:connector-curvature="0" id="path3130" d="m 118,32 0,44" 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 118,32 0,44" 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,47.248143,-19.40226)" 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,47.248143,24.59774)" 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 id="g3150-1" transform="translate(-103,-38)">
<path inkscape:connector-curvature="0" id="path3130-9" d="m 134,49 -23,0" 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 134,49 -23,0" 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,1.2869604,-18.441084)" id="g3827-1-3-92-1-1-0">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7-0-6">
<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-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-3-0-1);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-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,24.248143,-18.441084)" id="g3827-1-3-92-1-1">
<g transform="translate(31.322131,40.570289)" id="g3797-9-5-66-7-0">
<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-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-0);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-5" 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>