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

85 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="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="#linearGradient3822-6-2"
id="linearGradient3834-3-0"
gradientUnits="userSpaceOnUse"
x1="37"
y1="62.628094"
x2="37"
y2="20"
gradientTransform="matrix(-1.325,0,0,-1.3262548,81.025,83.06081)" /><linearGradient
id="linearGradient3822-6-2"><stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop3824-7-3" /><stop
style="stop-color:#0846b3;stop-opacity:1"
offset="1"
id="stop3826-5-7" /></linearGradient></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"><path
id="path3050-5-8"
d="M 5.5,7.4642865 V 56.535713 h 53 V 7.4642865 c -17.666666,0 -35.333334,0 -53,0 z"
style="fill:#89b4fa;fill-opacity:1;stroke:#052459;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" /><path
id="path14"
d="m 7.5,9.4648438 h 49 V 54.535156 h -49 z"
style="fill:url(#linearGradient3834-3-0);fill-opacity:1;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" /><path
style="fill:#89b4fa;fill-opacity:1;fill-rule:evenodd;stroke:#307bf7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="M 32,31.368447 9.6167373,52.533612"
id="path16" /><path
style="fill:#89b4fa;fill-opacity:1;fill-rule:evenodd;stroke:#307bf7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="M 32,31.368447 54.383263,52.533612"
id="path17" /><path
id="path3820-6-9"
d="M 56.427207,11.001926 32.000581,31.368931 7.5739563,11.001926"
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" /><path
id="path15"
d="M 54.480126,15.155737 32.000581,33.899259 9.564511,15.191985"
style="fill:none;stroke:#307bf7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" /></g></svg>