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

65 lines
4.4 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="svg3136" version="1.1">
<defs id="defs3138">
<linearGradient id="linearGradient3841">
<stop style="stop-color:#2168de;stop-opacity:1" offset="0" id="stop3843" />
<stop style="stop-color:#7cacfa;stop-opacity:1" offset="1" id="stop3845" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3841" id="linearGradient4235" x1="8" y1="31.75" x2="52" y2="31.75" gradientUnits="userSpaceOnUse" />
<linearGradient xlink:href="#linearGradient3841" id="linearGradient4243" x1="19.25" y1="31.75" x2="37" y2="31.75" gradientUnits="userSpaceOnUse" />
<linearGradient xlink:href="#linearGradient3841" id="linearGradient4246" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.1390891,0,0,0.1390891,-116.65366,-325.33528)" x1="844.9165" y1="2560.25" x2="1270.7085" y2="2560.25" />
<linearGradient xlink:href="#linearGradient3802-5" id="linearGradient3808-7" x1="29" y1="4" x2="44" y2="56" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0.35072612,0,0,0.35072612,18.762241,21.142012)" />
<linearGradient id="linearGradient3802-5">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3804-3" />
<stop style="stop-color:#0846b3;stop-opacity:1" offset="1" id="stop3806-5" />
</linearGradient>
<linearGradient xlink:href="#linearGradient3802" id="linearGradient3808" x1="29" y1="4" x2="44" y2="56" gradientUnits="userSpaceOnUse" gradientTransform="translate(1,0)" />
<linearGradient id="linearGradient3802">
<stop style="stop-color:#89b4fa;stop-opacity:1" offset="0" id="stop3804" />
<stop style="stop-color:#0846b3;stop-opacity:1" offset="1" id="stop3806" />
</linearGradient>
</defs>
<metadata id="metadata3141">
<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_Offset2D</dc:title>
<dc:date>2016-09-02</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_Offset2D.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">
<path style="fill:none;stroke:#052459;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="M 8,19 19,8 54,8 54,34 c 0,9 -8,22 -24,22" id="path2996" />
<path style="fill:none;stroke:url(#linearGradient3808);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="M 8,19 19,8 54,8 54,34 c 0,9 -8,22 -24,22" id="path2996-3" />
<path style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="M 7.03125,18.59375 18.6875,6.9375 54.353553,7 M 53,11 53,33 c 0,9 -7,22 -23,22" id="path2996-3-6" />
<path style="fill:none;stroke:#052459;stroke-width:8.00000095;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="M 21,28 25.075311,23.947821 38,24 l 0,9 c 0,3.156535 -3.388382,8 -9,8" id="path2996-6" />
<path style="fill:none;stroke:url(#linearGradient3808-7);stroke-width:4.00000048;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="M 21,28 25.075311,23.947821 38,24 38,33.118879 C 38,36.275414 34.611618,41 29,41" id="path2996-3-2" />
<path style="fill:none;stroke:#89b4fa;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="M 20.158808,27.44735 25,23 38,23 M 37,27.096525 37,32 c 0,4 -3,8 -8,8" id="path2996-3-6-9" />
</g>
</svg>