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

145 lines
5.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
id="svg2869"
version="1.1"
viewBox="0 0 64 64"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs
id="defs2871">
<linearGradient
xlink:href="#linearGradient3765"
id="linearGradient3771"
x1="98"
y1="1047.3622"
x2="81"
y2="993.36218"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-60,-988.36218)" />
<linearGradient
id="linearGradient3765">
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="0"
id="stop3767" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3769" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3765"
id="linearGradient9"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-60,-988.36218)"
x1="98"
y1="1047.3622"
x2="81"
y2="993.36218" />
</defs>
<metadata
id="metadata2874">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>[maxwxyz]</dc:title>
</cc:Agent>
</dc:creator>
<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/</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:date>2024</dc:date>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer3"
style="display:inline">
<g
id="g5"
transform="matrix(0.88681323,0,0,0.88889159,10.527509,0.33465048)"
style="stroke-width:1.12632;opacity:0.6">
<path
style="fill:url(#linearGradient3771);fill-opacity:1;stroke:#1e1e2e;stroke-width:2.25263;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 11,3 v 58.00002 h 42 v -48 L 43,3 Z"
id="path2991" />
<path
style="fill:none;stroke:#cdd6f4;stroke-width:2.25263;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 13,5 V 59.00002 H 51 V 13.81392 L 41.99741,5 Z"
id="path3763" />
<path
style="fill:#1e1e2e;fill-opacity:0.392157;stroke:#1e1e2e;stroke-width:2.25263;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 43,3 V 13.00002 H 53 Z"
id="path2993" />
</g>
<g
id="g9"
transform="matrix(0.88681323,0,0,0.88889159,-3.283556,6.77627)"
style="stroke-width:1.12632">
<path
style="fill:url(#linearGradient9);fill-opacity:1;stroke:#1e1e2e;stroke-width:2.25263;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 11,3 v 58.00002 h 42 v -48 L 43,3 Z"
id="path7" />
<path
style="fill:none;stroke:#cdd6f4;stroke-width:2.25263;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 13,5 V 59.00002 H 51 V 13.81392 L 41.99741,5 Z"
id="path8" />
<path
style="fill:#1e1e2e;fill-opacity:0.392157;stroke:#1e1e2e;stroke-width:2.25263;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 43,3 V 13.00002 H 53 Z"
id="path9" />
</g>
</g>
<path
d="m 19.957882,42.816248 -9.863414,-6.16143 v -2.360283 l 9.863414,-6.943617 v 4.075603 l -6.04878,3.883484 6.04878,3.458086 z m 9.531706,-17.907946 -5.317072,20.625015 h -3.375609 l 5.317072,-20.625015 z m 0.741465,13.85979 6.04878,-3.458085 -6.04878,-3.883485 v -4.075603 l 9.863414,6.943618 v 2.360282 l -9.863414,6.161431 z"
id="text1"
style="font-weight:800;font-size:25.2764px;font-family:'Open Sans';-inkscape-font-specification:'Open Sans, Ultra-Bold';display:inline;fill:#1e1e2e;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
aria-label="&lt;/&gt;" />
<g
id="g1"
transform="translate(32.669235,33.796449)">
<g
id="g3"
transform="translate(16.727535,4.2195563)">
<circle
style="fill:#7f849c;fill-rule:evenodd;stroke:#1e1e2e;stroke-width:2.00001;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path968"
cx="2.3967707"
cy="8.9839945"
transform="scale(-1,1)"
r="13.999995" />
<path
style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#6c7086;fill-opacity:1;fill-rule:evenodd;stroke:#7f849c;stroke-width:2.00001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;-inkscape-stroke:none;stop-color:#11111b;stop-opacity:1"
id="circle2"
transform="scale(-1,1)"
d="m 2.3964844,-3.015625 c 6.6173018,0 11.9999996,5.3826982 11.9999996,12 0,6.617302 -5.3826978,12 -11.9999996,12 -6.6173018,0 -12,-5.382698 -12,-12 0,-6.6173018 5.3826982,-12 12,-12 z" />
<path
style="fill:none;stroke:#1e1e2e;stroke-width:2.00001;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 3.3502036,8.984375 h -5.746688 V 0.58691898"
id="path966" />
</g>
</g>
</svg>