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

211 lines
6.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="linearGradient2">
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="0"
id="stop1" />
<stop
style="stop-color:#585b70;stop-opacity:1"
offset="1"
id="stop2" />
</linearGradient>
<linearGradient
id="linearGradient6">
<stop
style="stop-color:#45475a;stop-opacity:1;"
offset="0"
id="stop6" />
<stop
style="stop-color:#585b70;stop-opacity:1;"
offset="1"
id="stop7" />
</linearGradient>
<linearGradient
id="linearGradient4">
<stop
style="stop-color:#45475a;stop-opacity:1;"
offset="0"
id="stop4" />
<stop
style="stop-color:#585b70;stop-opacity:1;"
offset="1"
id="stop5" />
</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
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3801-1"
xlink:href="#linearGradient3836-0" />
<linearGradient
xlink:href="#linearGradient4"
id="linearGradient5"
x1="4.0513154"
y1="55.463016"
x2="19.698685"
y2="55.463016"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient6"
id="linearGradient7"
x1="47.656659"
y1="11.761779"
x2="63.302326"
y2="11.761779"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient2"
id="linearGradient47"
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="linearGradient1"
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:#307bf7;stroke:#052459;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:#89b4fa;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(#linearGradient1);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(#linearGradient47);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>
</svg>