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

333 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg3057"
version="1.1"
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="defs3059">
<linearGradient
id="linearGradient1">
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="0"
id="stop1" />
<stop
style="stop-color:#f9e2af;stop-opacity:0;"
offset="1"
id="stop2" />
</linearGradient>
<linearGradient
id="linearGradient3868">
<stop
style="stop-color:#e86ec6;stop-opacity:1"
offset="0"
id="stop3870" />
<stop
style="stop-color:#b11b87;stop-opacity:1"
offset="1"
id="stop3873" />
</linearGradient>
<linearGradient
id="linearGradient3859">
<stop
style="stop-color:#f5c2e7;stop-opacity:1"
offset="0"
id="stop3861" />
<stop
style="stop-color:#b11b87;stop-opacity:1"
offset="1"
id="stop3863" />
</linearGradient>
<linearGradient
id="linearGradient3850">
<stop
style="stop-color:#f5c2e7;stop-opacity:1"
offset="0"
id="stop3852" />
<stop
style="stop-color:#b11b87;stop-opacity:1"
offset="1"
id="stop3854" />
</linearGradient>
<linearGradient
id="linearGradient3808">
<stop
style="stop-color:#f5c2e7;stop-opacity:1"
offset="0"
id="stop3810" />
<stop
style="stop-color:#e86ec6;stop-opacity:1"
offset="1"
id="stop3812" />
</linearGradient>
<linearGradient
id="linearGradient3891">
<stop
id="stop3893"
offset="0"
style="stop-color:#e3ad6b;stop-opacity:1" />
<stop
id="stop3895"
offset="1"
style="stop-color:#ac6f1a;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3883">
<stop
style="stop-color:#accbcb;stop-opacity:0.9"
offset="0"
id="stop3885" />
<stop
style="stop-color:#bed5d5;stop-opacity:0.9"
offset="1"
id="stop3887" />
</linearGradient>
<linearGradient
id="linearGradient3878">
<stop
style="stop-color:#11111b;stop-opacity:0.58823532;"
offset="0"
id="stop3880" />
<stop
style="stop-color:#11111b;stop-opacity:0.58823532;"
offset="1"
id="stop3882" />
</linearGradient>
<linearGradient
id="linearGradient3870">
<stop
style="stop-color:#11111b;stop-opacity:0.19607843;"
offset="0"
id="stop3872" />
<stop
style="stop-color:#11111b;stop-opacity:1;"
offset="1"
id="stop3874" />
</linearGradient>
<linearGradient
id="linearGradient3858">
<stop
style="stop-color:#11111b;stop-opacity:0.19607843;"
offset="0"
id="stop3868" />
<stop
style="stop-color:#11111b;stop-opacity:1;"
offset="1"
id="stop3862" />
</linearGradient>
<linearGradient
id="linearGradient3839">
<stop
style="stop-color:#49c1ad;stop-opacity:1;"
offset="0"
id="stop3841" />
<stop
style="stop-color:#49c1ad;stop-opacity:0;"
offset="1"
id="stop3843" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3891"
id="linearGradient3865"
gradientUnits="userSpaceOnUse"
x1="7.6500912"
y1="24.259275"
x2="57.40641"
y2="24.259275" />
<linearGradient
xlink:href="#linearGradient3891"
id="linearGradient3867"
gradientUnits="userSpaceOnUse"
x1="7.9418812"
y1="9.7128649"
x2="56.493774"
y2="9.7128649" />
<linearGradient
xlink:href="#linearGradient3891"
id="linearGradient3869"
gradientUnits="userSpaceOnUse"
x1="7.6500912"
y1="24.259275"
x2="57.40641"
y2="24.259275" />
<linearGradient
xlink:href="#linearGradient3891"
id="linearGradient3871"
gradientUnits="userSpaceOnUse"
x1="7.9418812"
y1="9.7128649"
x2="56.493774"
y2="9.7128649" />
<linearGradient
xlink:href="#linearGradient3883"
id="linearGradient3889"
x1="71.582909"
y1="19.009436"
x2="107.70811"
y2="43.081383"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.8782269,0,0,0.88301047,-44.309994,6.0680873)" />
<linearGradient
xlink:href="#linearGradient3808"
id="linearGradient3814"
x1="46"
y1="27.310347"
x2="55.333336"
y2="31.241386"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient3808-6"
id="linearGradient3814-3"
x1="46"
y1="27.310347"
x2="55.333336"
y2="31.241386"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3808-6">
<stop
style="stop-color:#f5c2e7;stop-opacity:1"
offset="0"
id="stop3810-7" />
<stop
style="stop-color:#e86ec6;stop-opacity:1"
offset="1"
id="stop3812-5" />
</linearGradient>
<linearGradient
y2="31.241386"
x2="55.333336"
y1="27.310347"
x1="46"
gradientUnits="userSpaceOnUse"
id="linearGradient3831"
xlink:href="#linearGradient3808-6" />
<linearGradient
xlink:href="#linearGradient3850"
id="linearGradient3856"
x1="40.666668"
y1="28.586218"
x2="60"
y2="29.896561"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.3173403,0,0,1.3477535,-33.504399,-23.628982)" />
<linearGradient
xlink:href="#linearGradient3859"
id="linearGradient3866"
x1="41.214105"
y1="28.997386"
x2="62.785895"
y2="28.997386"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.3173403,0,0,1.3477512,-33.504399,16.803688)" />
<linearGradient
xlink:href="#linearGradient3868"
id="linearGradient3875"
x1="45.333332"
y1="27.448271"
x2="58.666668"
y2="30.724136"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient3859"
id="linearGradient3885"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.3173403,0,0,1.3477512,-33.504399,16.803688)"
x1="41.214105"
y1="28.997386"
x2="62.785895"
y2="28.997386" />
<linearGradient
xlink:href="#linearGradient3850"
id="linearGradient3887"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.3173403,0,0,1.3477535,-33.504399,-23.628982)"
x1="40.666668"
y1="28.586218"
x2="60"
y2="29.896561" />
<linearGradient
xlink:href="#linearGradient3868"
id="linearGradient3890"
gradientUnits="userSpaceOnUse"
x1="45.333332"
y1="27.448271"
x2="58.666668"
y2="30.724136" />
<linearGradient
xlink:href="#linearGradient3808"
id="linearGradient3892"
gradientUnits="userSpaceOnUse"
x1="46"
y1="27.310347"
x2="55.333336"
y2="31.241386" />
<linearGradient
xlink:href="#linearGradient1"
id="linearGradient2"
x1="34.848141"
y1="8.9542446"
x2="37.83667"
y2="59.568283"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata3062">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="g3877"
transform="matrix(1.7070163,0,0,1.1394569,-27.740955,-7.1064968)"
style="display:inline">
<path
id="path3226"
d="m 21.824018,15.455869 c 0,10.101696 13.923744,18.422365 13.173278,18.864355 -2.280776,1.34327 -12.383883,9.835267 -13.173402,21.568249 3.153487,-4.906035 22.216026,-5.082383 26.346807,8e-6 C 47.849045,44.464121 37.468346,36.072358 34.997296,34.320224 33.680477,33.386514 47.55663,27.938368 48.170701,15.455872 Z"
style="display:inline;fill:url(#linearGradient2);stroke:#490b38;stroke-width:1.43404;stroke-linecap:butt;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path3204-9"
d="m 48.1707,55.888473 c 0,2.233027 -5.897934,4.043253 -13.173403,4.043253 -7.275469,0 -13.173403,-1.810226 -13.173403,-4.043253 0,-2.233027 -2.634681,-3.903841 13.173403,-4.043254 15.808085,-0.139413 13.173403,1.810227 13.173403,4.043254 z"
style="display:inline;fill:url(#linearGradient3885);fill-opacity:1;stroke:#490b38;stroke-width:1.43404;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none" />
<path
id="path3204"
d="m 48.1707,15.455869 c 0,2.233031 -5.897934,4.043261 -13.173403,4.043261 -7.275469,0 -13.173403,-1.81023 -13.173403,-4.043261 0,-2.23303 -1.756454,-3.996802 13.173403,-4.04326 14.929857,-0.04646 13.173403,1.81023 13.173403,4.04326 z"
style="display:inline;fill:url(#linearGradient3887);fill-opacity:1;stroke:#490b38;stroke-width:1.43404;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none" />
<ellipse
transform="matrix(1.3173403,0,0,1.3477512,-33.504399,14.108182)"
id="path3204-9-1"
style="display:inline;fill:url(#linearGradient3890);fill-opacity:1;stroke:#490b38;stroke-width:1.07624;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
cx="52"
cy="29"
rx="10"
ry="3" />
<ellipse
transform="matrix(1.3173403,0,0,1.3477512,-33.504399,-26.324413)"
id="path3204-9-2"
style="display:inline;fill:#f5c2e7;fill-opacity:1;stroke:#490b38;stroke-width:1.07624;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
cx="52"
cy="29"
rx="10"
ry="3" />
<path
transform="matrix(1.3173403,0,0,1.3477512,-33.504399,-26.324413)"
id="ellipse1"
style="display:inline;fill:url(#linearGradient3892);fill-opacity:1;stroke:#f5c2e7;stroke-width:1.07624;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none"
d="m 52,27.080078 c 5.416,0 8.919922,1.450084 8.919922,1.919922 0,0.469838 -3.503922,1.919922 -8.919922,1.919922 -5.416,0 -8.919922,-1.450084 -8.919922,-1.919922 0,-0.469838 3.503922,-1.919922 8.919922,-1.919922 z" />
</g>
</svg>