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

290 lines
9.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
width="64"
height="64"
id="svg3085"
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="defs3087">
<linearGradient
id="linearGradient24">
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="0"
id="stop23" />
<stop
style="stop-color:#585b70;stop-opacity:1"
offset="1"
id="stop24" />
</linearGradient>
<linearGradient
id="linearGradient15">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop14" />
<stop
style="stop-color:#307bf7;stop-opacity:1"
offset="1"
id="stop15" />
</linearGradient>
<linearGradient
id="linearGradient9">
<stop
style="stop-color:#0846b3;stop-opacity:1;"
offset="0"
id="stop9" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="1"
id="stop10" />
</linearGradient>
<linearGradient
id="linearGradient5062">
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop5058" />
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="1"
id="stop5060" />
</linearGradient>
<linearGradient
id="linearGradient3836-0">
<stop
id="stop5008"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop5010"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient7597">
<stop
id="stop7599"
style="stop-color:#000003;stop-opacity:1"
offset="0" />
<stop
id="stop7601"
style="stop-color:#000003;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient3893">
<stop
id="stop3895"
style="stop-color:#cdd6f4;stop-opacity:1"
offset="0" />
<stop
id="stop3897"
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
x1="15.71482"
y1="22.299377"
x2="34.136208"
y2="22.299377"
id="linearGradient7603"
xlink:href="#linearGradient7597"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3836-0-3">
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop3838-2" />
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="1"
id="stop3840-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5064"
x1="33.055637"
y1="43.596096"
x2="42.195377"
y2="57.417107"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5072"
x1="3.8125484"
y1="51.68948"
x2="19.800535"
y2="51.68948"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5080"
x1="13.818283"
y1="25.689482"
x2="29.806271"
y2="25.689482"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5088"
x1="43.818283"
y1="11.684036"
x2="59.806271"
y2="11.684036"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient9"
id="linearGradient10"
x1="30.313029"
y1="51.672932"
x2="45.290518"
y2="51.672932"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0000093,0,0,1,23.726546,23.727119)" />
<linearGradient
xlink:href="#linearGradient24"
id="linearGradient1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82607043,0,0,0.82533448,-4.0098079,1.346708)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
<linearGradient
id="linearGradient3836-9-3">
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="0"
id="stop3838-8-5" />
<stop
style="stop-color:#585b70;stop-opacity:1"
offset="1"
id="stop3840-1-6" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82607043,0,0,0.82533448,-4.0098079,1.346708)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
<linearGradient
xlink:href="#linearGradient15"
id="linearGradient16"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82607043,0,0,0.82533448,-4.0098079,1.346708)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
</defs>
<metadata
id="metadata3090">
<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="layer3"
style="display:inline"
transform="translate(0.25)">
<g
id="layer1"
transform="translate(-3.2499999,2.0000121)">
<path
style="fill:#585b70;stroke:#313244;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 15.908118,53.33451 11.665477,49.091871 54.091883,6.6654658 58.334523,10.908105 Z"
id="path3061" />
<path
style="fill:none;stroke:#6c7086;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 14.002003,49.583771 54.583793,9.0019854"
id="path3063" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,69.798355,1.0976485)"
id="g47"
style="display:inline;stroke-width:1.2842">
<path
style="fill:#6c7086;stroke:#313244;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path46"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient2);fill-opacity:1;stroke:#6c7086;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path47"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,24.798173,46.097607)"
id="g49"
style="stroke-width:1.2842">
<path
style="fill:#6c7086;stroke:#313244;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path48"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient1);fill-opacity:1;stroke:#6c7086;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path49"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,47.298173,23.597648)"
id="g14"
style="stroke-width:1.2842">
<path
style="fill:#89b4fa;stroke:#052459;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path9"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient16);fill-opacity:1;stroke:#89b4fa;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path14"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
</g>
<g
id="g23"
style="display:inline"
transform="matrix(-1,0,0,1,65.328427,4.792872)">
<g
id="g20"
transform="rotate(45,11.307586,-8.9350165)">
<path
style="fill:#307bf7;stroke:#912424;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none;paint-order:stroke markers fill"
d="m 34.999999,14 h 7.999999"
id="path19" />
<path
style="fill:#307bf7;stroke:#912424;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none;paint-order:stroke markers fill"
d="m 34.999999,11 h 7.999999"
id="path20" />
</g>
<g
id="g22"
transform="rotate(45,-2.8345494,25.207119)">
<path
style="fill:#307bf7;stroke:#912424;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none;paint-order:stroke markers fill"
d="m 34.999999,14 h 7.999999"
id="path21" />
<path
style="fill:#307bf7;stroke:#912424;stroke-width:2;stroke-linejoin:round;stroke-dasharray:none;paint-order:stroke markers fill"
d="m 34.999999,11 h 7.999999"
id="path22" />
</g>
</g>
</svg>