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

74 lines
4.2 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"
xml:space="preserve"
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
id="linearGradient4"><stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop4" /><stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop7" /></linearGradient><linearGradient
id="linearGradient5"><stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop19" /><stop
style="stop-color:#f2cdcd;stop-opacity:0;"
offset="1"
id="stop20" /></linearGradient><linearGradient
id="swatch18"><stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop18" /></linearGradient><linearGradient
id="swatch15"><stop
style="stop-color:#581616;stop-opacity:1;"
offset="0"
id="stop15" /></linearGradient><linearGradient
id="linearGradient5-1"><stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop5" /><stop
style="stop-color:#f2cdcd;stop-opacity:0;"
offset="1"
id="stop6" /></linearGradient><linearGradient
id="linearGradient3836-9"><stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8" /><stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1" /></linearGradient><linearGradient
xlink:href="#linearGradient4"
id="linearGradient7"
x1="10.802491"
y1="49.560848"
x2="44.045834"
y2="16.298645"
gradientUnits="userSpaceOnUse" /></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="g3"><path
style="color:#11111b;display:block;overflow:visible;visibility:visible;fill:#f9e2af;fill-opacity:1;fill-rule:nonzero;stroke:#221e0c;stroke-width:2.00001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none"
d="M 28.811054,2.9998852 4.331002,24.363222 28.811054,46.769639 v -14.5239 l 2.594648,-0.108269 c 14.787528,-0.613737 24.886008,10.730282 22.432341,22.916074 -0.409194,2.032201 -1.170168,4.02883 -2.277583,5.946877 4.991053,-4.644764 7.468561,-10.141504 7.997963,-15.498322 1.366583,-13.827951 -10.043816,-28.399385 -28.015327,-28.2239 l -2.732042,0.02641 z"
id="path1" /><path
style="color:#11111b;display:block;overflow:visible;visibility:visible;fill:url(#linearGradient7);fill-rule:nonzero;stroke:#f9e2af;stroke-width:1.47883;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none"
d="m 35.335937,10.65625 14.400391,12.574219 -14.400391,13.1875 V 27.615234 L 32,27.474609 C 21.515464,27.039216 13.798628,34.189897 13.613281,42.847656 13.066901,41.466422 12.735455,40.068714 12.599609,38.693359 11.681352,29.396575 19.370531,19.319731 31.824219,19.441406 l 3.511718,0.03516 z"
id="path3"
transform="matrix(-1.3528102,0,0,1.3520431,74.61372,-7.0084018)" /></g></g></svg>