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

198 lines
7.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
viewBox="0 0 16.933333 16.933334"
version="1.1"
id="svg1593"
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="defs1587">
<linearGradient
id="linearGradient10">
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="0"
id="stop9" />
<stop
style="stop-color:#585b70;stop-opacity:1"
offset="1"
id="stop10" />
</linearGradient>
<linearGradient
id="linearGradient8">
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="0"
id="stop7" />
<stop
style="stop-color:#585b70;stop-opacity:1"
offset="1"
id="stop8" />
</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="linearGradient1">
<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
xlink:href="#linearGradient1"
id="linearGradient2"
x1="12.878931"
y1="282.9209"
x2="15.943335"
y2="282.9209"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient1"
id="linearGradient3"
gradientUnits="userSpaceOnUse"
x1="1.2773438"
y1="294.44922"
x2="3.7324219"
y2="294.44922" />
<linearGradient
xlink:href="#linearGradient4"
id="linearGradient5"
x1="12.878933"
y1="294.40137"
x2="15.943333"
y2="294.40137"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient14"
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="#linearGradient8"
id="linearGradient6"
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="#linearGradient10"
id="linearGradient7"
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="metadata1590">
<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="matrix(0.26458334,0,0,0.26458334,0.06614583,0)">
<g
id="layer1-3"
transform="translate(-0.24999998)">
<path
style="display:inline;fill:none;stroke:#052459;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
id="path2"
d="M -13.685776,15.235369 A 36,36 0 0 1 -48.854274,51.225765"
transform="rotate(-88.62016)" />
<path
d="M 14.951172,12.048828 A 2,2 0 0 0 12.902344,14 a 2,2 0 0 0 0.01172,0.06836 36,36 0 0 1 27.060546,11.007813 36,36 0 0 1 10.001953,26.986328 2,2 0 0 0 0.05469,0.01172 2,2 0 0 0 2.001953,-1.998047 C 52.053484,29.45341 35.567964,12.545433 14.951172,12.048828 Z"
style="fill:#89b4fa;fill-opacity:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:3.45"
id="path3" />
<path
d="M 49.976562,52.0625 A 36,36 0 0 0 39.974609,25.076172 36,36 0 0 0 12.914063,14.068359 a 2,2 0 0 0 1.939453,1.980469 c 18.48833,0.445336 33.199828,15.529753 33.18164,34.023438 a 2,2 0 0 0 1.941406,1.990234 z"
style="display:inline;fill:#307bf7;fill-opacity:1;stroke:none;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:3.45"
id="path4" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,65.33141,41.811165)"
id="g14"
style="stroke-width:1.2842">
<path
style="fill:#89b4fa;stroke:#313244;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path13"
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(#linearGradient6);fill-opacity:1;stroke:#6c7086;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
transform="matrix(0.77869459,0,0,0.77869445,29.298264,41.597628)"
id="g16"
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="path15"
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(#linearGradient7);fill-opacity:1;stroke:#6c7086;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path16"
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,29.298264,5.5976279)"
id="g18"
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="path17"
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(#linearGradient14);fill-opacity:1;stroke:#6c7086;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path18"
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>