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

127 lines
8.3 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
id="linearGradient73">
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop73" />
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="1"
id="stop74" />
</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="#linearGradient73"
id="linearGradient74"
x1="4"
y1="4"
x2="60"
y2="60"
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">
<path
id="path1"
style="fill:#89b4fa;fill-rule:evenodd;stroke:#0b1523;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="M 29.740234 4 A 1.5046519 1.5076923 0 0 0 28.310547 5.0429688 L 26.753906 9.8398438 A 1.5046519 1.5076923 0 0 1 25.791016 10.810547 L 24.591797 11.197266 A 1.5046519 1.5076923 0 0 1 23.246094 10.982422 L 19.169922 8.0175781 A 1.5046519 1.5076923 0 0 0 17.402344 8.0175781 L 13.748047 10.675781 A 1.5046519 1.5076923 0 0 0 13.201172 12.363281 L 14.757812 17.162109 A 1.5046519 1.5076923 0 0 1 14.546875 18.513672 L 13.806641 19.535156 A 1.5046519 1.5076923 0 0 1 12.585938 20.154297 L 7.5507812 20.154297 A 1.5046519 1.5076923 0 0 0 6.1210938 21.197266 L 4.7285156 25.496094 A 1.5046519 1.5076923 0 0 0 4.7285156 26.429688 A 1.5046519 1.5076923 0 0 0 5.2753906 27.183594 L 9.3476562 30.148438 A 1.5046519 1.5076923 0 0 1 9.9648438 31.369141 L 9.9648438 32.630859 A 1.5046519 1.5076923 0 0 1 9.3476562 33.851562 L 5.2753906 36.816406 A 1.5046519 1.5076923 0 0 0 4.7285156 38.503906 L 6.1210938 42.802734 A 1.5046519 1.5076923 0 0 0 7.5507812 43.845703 L 12.585938 43.845703 A 1.5046519 1.5076923 0 0 1 13.806641 44.464844 L 14.546875 45.486328 A 1.5046519 1.5076923 0 0 1 14.757812 46.837891 L 13.201172 51.636719 A 1.5046519 1.5076923 0 0 0 13.748047 53.324219 L 17.402344 55.982422 A 1.5046519 1.5076923 0 0 0 19.169922 55.982422 L 23.246094 53.017578 A 1.5046519 1.5076923 0 0 1 24.591797 52.802734 L 25.791016 53.189453 A 1.5046519 1.5076923 0 0 1 26.753906 54.160156 L 28.310547 58.957031 A 1.5046519 1.5076923 0 0 0 29.740234 60 L 34.259766 60 A 1.5046519 1.5076923 0 0 0 35.689453 58.957031 L 37.246094 54.160156 A 1.5046519 1.5076923 0 0 1 38.208984 53.189453 L 39.408203 52.802734 A 1.5046519 1.5076923 0 0 1 40.753906 53.017578 L 44.830078 55.982422 A 1.5046519 1.5076923 0 0 0 46.597656 55.982422 L 50.251953 53.324219 A 1.5046519 1.5076923 0 0 0 50.798828 51.636719 L 49.242188 46.837891 A 1.5046519 1.5076923 0 0 1 49.453125 45.486328 L 50.193359 44.464844 A 1.5046519 1.5076923 0 0 1 51.414062 43.845703 L 56.449219 43.845703 A 1.5046519 1.5076923 0 0 0 57.878906 42.802734 L 59.271484 38.503906 A 1.5046519 1.5076923 0 0 0 58.728516 36.816406 L 54.652344 33.851562 A 1.5046519 1.5076923 0 0 1 54.035156 32.630859 L 54.035156 31.369141 A 1.5046519 1.5076923 0 0 1 54.652344 30.148438 L 58.724609 27.183594 A 1.5046519 1.5076923 0 0 0 59.271484 25.496094 L 57.878906 21.197266 A 1.5046519 1.5076923 0 0 0 56.449219 20.154297 L 51.414062 20.154297 A 1.5046519 1.5076923 0 0 1 50.193359 19.535156 L 49.453125 18.513672 A 1.5046519 1.5076923 0 0 1 49.242188 17.162109 L 50.798828 12.363281 A 1.5046519 1.5076923 0 0 0 50.251953 10.675781 L 46.597656 8.0175781 A 1.5046519 1.5076923 0 0 0 44.830078 8.0175781 L 40.753906 10.982422 A 1.5046519 1.5076923 0 0 1 39.408203 11.197266 L 38.208984 10.810547 A 1.5046519 1.5076923 0 0 1 37.246094 9.8398438 L 35.689453 5.0429688 A 1.5046519 1.5076923 0 0 0 34.259766 4 L 29.740234 4 z M 32 25 A 7 7 0 0 1 39 32 A 7 7 0 0 1 32 39 A 7 7 0 0 1 25 32 A 7 7 0 0 1 32 25 z " />
<path
id="path72"
style="fill:url(#linearGradient74);fill-rule:evenodd;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 30.101562,6 h 3.794922 l 1.445313,4.451172 c 0.342976,1.068284 1.17518,1.908647 2.242187,2.259766 l 0.0059,0.002 1.203125,0.386718 c 1.066097,0.34446 2.231085,0.158771 3.136718,-0.5 l 3.783204,-2.7519527 3.074218,2.2343747 -1.447265,4.460938 c -0.347595,1.06617 -0.164654,2.231523 0.49414,3.144531 l 0.742188,1.025391 c 0.661841,0.909106 1.719153,1.445229 2.83789,1.441406 h 4.671875 l 1.173829,3.621094 -3.789063,2.759765 c -0.905982,0.663048 -1.437903,1.716557 -1.435547,2.833985 v 1.257812 c -0.0024,1.121637 0.530685,2.175291 1.441406,2.841797 l 3.783204,2.753906 -1.171875,3.623047 h -4.667969 c -1.125553,-0.0038 -2.181286,0.53266 -2.845703,1.445313 l -0.742188,1.02539 c -0.656404,0.909703 -0.838863,2.075328 -0.492187,3.138672 l 1.447265,4.462891 -3.074218,2.234375 -3.783204,-2.751953 c -0.905691,-0.658813 -2.06975,-0.846064 -3.134765,-0.501954 l -1.205078,0.388672 -0.0059,0.002 c -1.067007,0.351119 -1.899182,1.191584 -2.240234,2.253907 L 33.898437,58 h -3.794921 l -1.445313,-4.451172 c -0.342976,-1.068284 -1.17518,-1.908647 -2.242187,-2.259766 l -0.0059,-0.002 -1.203125,-0.386718 c -1.066097,-0.34446 -2.231085,-0.158771 -3.136719,0.5 l -3.783203,2.751953 -3.074218,-2.234375 1.447265,-4.460938 c 0.347595,-1.06617 0.164654,-2.231523 -0.49414,-3.144531 L 15.423828,43.287109 C 14.761987,42.378003 13.704675,41.84188 12.585938,41.845703 H 7.9140625 L 6.7402344,38.224609 10.529297,35.464844 c 0.905981,-0.663048 1.437903,-1.716557 1.435547,-2.833985 v -1.257812 c 0.0024,-1.121638 -0.52947,-2.175828 -1.439453,-2.841797 l -3.7851566,-2.753906 1.171875,-3.623047 h 4.6679686 c 1.125553,0.0038 2.181286,-0.53266 2.845703,-1.445313 l 0.742188,-1.02539 c 0.656404,-0.909703 0.838863,-2.075328 0.492187,-3.138672 l -1.447265,-4.462891 3.074218,-2.2343747 3.783203,2.7519527 c 0.905692,0.658813 2.069751,0.846064 3.134766,0.501954 l 1.205078,-0.388672 0.0059,-0.002 c 1.067007,-0.351119 1.899182,-1.191584 2.240234,-2.253907 z M 32,23 c -4.98064,0 -9,4.01936 -9,9 0,4.98064 4.01936,9 9,9 4.98064,0 9,-4.01936 9,-9 0,-4.98064 -4.01936,-9 -9,-9 z" />
</g>
</svg>