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

141 lines
11 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="svg3612" version="1.1">
<defs id="defs3614">
<marker orient="auto" refY="0.0" refX="0.0" id="Arrow1Lstart" style="overflow:visible">
<path id="path3809" d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z " style="fill-rule:evenodd;stroke:#11111b;stroke-width:1pt;marker-start:none" transform="scale(0.8) translate(12.5,0)" />
</marker>
<linearGradient id="linearGradient3144-6">
<stop id="stop3146-9" style="stop-color:#cdd6f4;stop-opacity:1" offset="0" />
<stop id="stop3148-2" style="stop-color:#cdd6f4;stop-opacity:0" offset="1" />
</linearGradient>
<linearGradient id="linearGradient3701">
<stop id="stop3703" style="stop-color:#cdd6f4;stop-opacity:1" offset="0" />
<stop id="stop3705" style="stop-color:#cdd6f4;stop-opacity:0" offset="1" />
</linearGradient>
<radialGradient xlink:href="#linearGradient3144-6" id="radialGradient3688" 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="linearGradient3708">
<stop id="stop3710" style="stop-color:#cdd6f4;stop-opacity:1" offset="0" />
<stop id="stop3712" style="stop-color:#cdd6f4;stop-opacity:0" offset="1" />
</linearGradient>
<linearGradient id="linearGradient3864-0-0">
<stop id="stop3866-5-7" offset="0" style="stop-color:#2168de;stop-opacity:1" />
<stop id="stop3868-7-6" offset="1" style="stop-color:#7cacfa;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient3377">
<stop id="stop3379" offset="0" style="stop-color:#f8ca69;stop-opacity:1" />
<stop id="stop3381" offset="1" style="stop-color:#f9d791;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient3864-0">
<stop id="stop3866-5" offset="0" style="stop-color:#2168de;stop-opacity:1" />
<stop id="stop3868-7" offset="1" style="stop-color:#7cacfa;stop-opacity:1" />
</linearGradient>
<linearGradient id="linearGradient5048">
<stop style="stop-color:black;stop-opacity:0" offset="0" id="stop5050" />
<stop id="stop5056" offset="0.5" style="stop-color:black;stop-opacity:1" />
<stop style="stop-color:black;stop-opacity:0" offset="1" id="stop5052" />
</linearGradient>
<linearGradient id="linearGradient3841-0-3">
<stop id="stop3843-1-3" offset="0" style="stop-color:#2168de;stop-opacity:1" />
<stop id="stop3845-0-8" offset="1" style="stop-color:#7cacfa;stop-opacity:1" />
</linearGradient>
<radialGradient gradientUnits="userSpaceOnUse" fy="114.5684" fx="20.892099" r="5.256" cy="114.5684" cx="20.892099" id="aigrd2">
<stop id="stop15566" style="stop-color:#8c92ab" offset="0" />
<stop id="stop15568" style="stop-color:#585b70;stop-opacity:1" offset="1.0000000" />
</radialGradient>
<radialGradient gradientUnits="userSpaceOnUse" fy="64.567902" fx="20.892099" r="5.257" cy="64.567902" cx="20.892099" id="aigrd3">
<stop id="stop15573" style="stop-color:#8c92ab" offset="0" />
<stop id="stop15575" style="stop-color:#585b70;stop-opacity:1" offset="1.0000000" />
</radialGradient>
<linearGradient id="linearGradient15662">
<stop style="stop-color:#cdd6f4;stop-opacity:1" offset="0.0000000" id="stop15664" />
<stop style="stop-color:#afb6d2;stop-opacity:1" offset="1.0000000" id="stop15666" />
</linearGradient>
<radialGradient r="86.70845" fy="35.736916" fx="33.966679" cy="35.736916" cx="33.966679" gradientTransform="matrix(0.96049297,0,0,1.041132,-52.144249,-702.33158)" gradientUnits="userSpaceOnUse" id="radialGradient4452" xlink:href="#linearGradient259" />
<linearGradient id="linearGradient259">
<stop style="stop-color:#b7bfdc;stop-opacity:1" offset="0.0000000" id="stop260" />
<stop style="stop-color:#595c71;stop-opacity:1" offset="1.0000000" id="stop261" />
</linearGradient>
<radialGradient r="37.751713" fy="3.7561285" fx="8.824419" cy="3.7561285" cx="8.824419" gradientTransform="matrix(0.96827297,0,0,1.032767,-48.790699,-701.68513)" gradientUnits="userSpaceOnUse" id="radialGradient4454" xlink:href="#linearGradient269" />
<linearGradient id="linearGradient269">
<stop style="stop-color:#585b70;stop-opacity:1" offset="0.0000000" id="stop270" />
<stop style="stop-color:#2c2d3e;stop-opacity:1" offset="1.0000000" id="stop271" />
</linearGradient>
<linearGradient id="linearGradient4095">
<stop style="stop-color:#5190f8;stop-opacity:1" offset="0" id="stop4097" />
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="1" id="stop4099" />
</linearGradient>
<linearGradient xlink:href="#linearGradient4247" id="linearGradient4253" x1="394.15784" y1="185.1304" x2="434.73947" y2="140.22731" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.94231826,0,0,0.94231826,23.727549,8.8262536)" />
<linearGradient id="linearGradient4247">
<stop style="stop-color:#308c29;stop-opacity:1" offset="0" id="stop4249" />
<stop style="stop-color:#89da82;stop-opacity:1" offset="1" id="stop4251" />
</linearGradient>
<linearGradient y2="140.22731" x2="434.73947" y1="185.1304" x1="394.15784" gradientTransform="matrix(0.94231826,0,0,0.94231826,23.727549,8.8262536)" gradientUnits="userSpaceOnUse" id="linearGradient5087" xlink:href="#linearGradient4247" />
</defs>
<g id="layer1">
<g id="g931" transform="translate(-5.0212139,-6)">
<path id="path3953-1" d="m 20.999999,19 h 4" style="fill:none;stroke:#0846b3;stroke-width:5.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3957-5" d="M 53.000001,19 C 57,19 57,19 57,19" style="fill:none;stroke:#0846b3;stroke-width:6;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-1" d="m 20.999999,19 h 4" style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3957-5-8" d="M 53.000001,19 C 57,19 57,19 57,19" style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-5" d="m 37,19 h 4" style="fill:none;stroke:#0846b3;stroke-width:5.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-1-7" d="m 37,19 h 4" style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-6" d="m 19,57 h 4" style="fill:none;stroke:#0846b3;stroke-width:5.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3957-5-1" d="m 51.000002,57 c 3.999999,0 3.999999,0 3.999999,0" style="fill:none;stroke:#0846b3;stroke-width:6;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-1-8" d="m 19,57 h 4" style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3957-5-8-9" d="m 51.000002,57 c 3.999999,0 3.999999,0 3.999999,0" style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-5-2" d="m 35.000001,57 h 4" style="fill:none;stroke:#0846b3;stroke-width:5.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-1-7-7" d="m 35.000001,57 h 4" style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-9" d="M 17,26.999999 V 31" style="fill:none;stroke:#0846b3;stroke-width:5.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-1-4" d="M 17,26.999999 V 31" style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-5-1" d="M 17,43.000001 V 47" style="fill:none;stroke:#0846b3;stroke-width:5.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-1-7-2" d="M 17,43.000001 V 47" style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-9-3" d="M 57,28.999999 V 33" style="fill:none;stroke:#0846b3;stroke-width:5.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-1-4-3" d="M 57,28.999999 V 33" style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-5-1-4" d="M 57,45.000001 V 49" style="fill:none;stroke:#0846b3;stroke-width:5.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path id="path3953-1-1-7-2-1" d="M 57,45.000001 V 49" style="fill:none;stroke:#89b4fa;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
<metadata id="metadata5469">
<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>
<cc:license rdf:resource="" />
<dc:date>Mon Oct 10 13:44:52 2011 +0000</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_SelectGroup.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>hierarchy</rdf:li>
<rdf:li>group</rdf:li>
<rdf:li>selection</rdf:li>
<rdf:li>tree</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A hierarchical tree structure with two blue child elements of a white parent element, both of which are surrounded by the same dotted box</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>