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

281 lines
9.7 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="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
id="linearGradient3836-9-3">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8-5" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1-6" />
</linearGradient>
<linearGradient
id="linearGradient2">
<stop
style="stop-color:#6cd163;stop-opacity:1;"
offset="0"
id="stop1" />
<stop
style="stop-color:#a6e3a1;stop-opacity:1;"
offset="1"
id="stop2" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3815"
id="linearGradient3856"
gradientUnits="userSpaceOnUse"
x1="80"
y1="58"
x2="79"
y2="42"
gradientTransform="translate(2.5714413,-4.9824956)" />
<linearGradient
id="linearGradient3815">
<stop
style="stop-color:#307bf7;stop-opacity:1"
offset="0"
id="stop3817" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop3819" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3841"
id="linearGradient3858"
gradientUnits="userSpaceOnUse"
x1="109"
y1="51"
x2="105"
y2="38"
gradientTransform="translate(2.5714413,-4.9824956)" />
<linearGradient
id="linearGradient3841">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop3843" />
<stop
style="stop-color:#307bf7;stop-opacity:1"
offset="1"
id="stop3845" />
</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" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient4"
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="#linearGradient3815"
id="linearGradient3978"
gradientUnits="userSpaceOnUse"
x1="-15"
y1="37"
x2="-19"
y2="37"
gradientTransform="rotate(15,69.468151,244.38323)" />
<linearGradient
y2="34.719997"
x2="54.103443"
y1="29.279999"
x1="23.758619"
gradientTransform="matrix(0,0.29303681,0.26203072,0,23.615017,21.745551)"
gradientUnits="userSpaceOnUse"
id="linearGradient3012"
xlink:href="#linearGradient3895" />
<linearGradient
id="linearGradient3895">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop3897" />
<stop
style="stop-color:#0846b3;stop-opacity:1;"
offset="1"
id="stop3899" />
</linearGradient>
</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
style="fill:#7f849c;fill-opacity:1;stroke:#0b1d23;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="M 4,58.999999 H 60 L 56,32 H 8 Z"
id="path2" />
<path
style="fill:#585b70;fill-opacity:1;stroke:#7f849c;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 9.734375,34.009766 h 44.53125 l 3.404297,22.980468 H 6.3300781 Z"
id="path22" />
<g
id="g3849"
transform="matrix(0.75384564,0,0,0.75065737,-31.092262,-12.790092)"
style="display:inline;stroke-width:1.32935">
<path
id="path3023"
d="m 65.571441,34.017504 v 14.671338 l 34.653059,2 V 36.017504 Z"
style="fill:#307bf7;fill-opacity:1;stroke:#052459;stroke-width:2.65869;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3025"
d="m 100.2245,50.688842 9.38775,-10 V 26.017504 l -9.38775,10 z"
style="fill:#0846b3;fill-opacity:1;stroke:#052459;stroke-width:2.65869;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3027"
d="m 65.571441,34.017504 12.040811,-10 31.999998,2 -9.38775,10 z"
style="fill:#89b4fa;stroke:#052459;stroke-width:2.65869;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
</g>
<g
id="g2"
style="display:inline"
transform="translate(10.750003,21.499977)">
<path
style="fill:none;stroke:#151819;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="M 7.8749955,24.750034 30.624998,26.250011"
id="path1-4" />
<path
style="display:inline;fill:none;stroke:#6c7086;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:markers fill stroke"
d="M 7.8749955,24.750034 30.624998,26.250011"
id="path1-7-5" />
<path
style="display:inline;fill:none;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:markers fill stroke"
d="M 7.8749955,23.750034 30.624998,25.250011"
id="path1-7-0-5" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,61.011934,39.855496)"
id="g3797-9-5-5-1"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#4f1414;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4250-71-6-6-7"
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:#f2cdcd;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4250-7-3-2-2-1"
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,31.548272,37.597758)"
id="g4"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#4f1414;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path3"
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(#linearGradient4);fill-opacity:1;stroke:#f2cdcd;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4"
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>
<path
style="display:inline;fill:#a6e3a1;fill-opacity:1;fill-rule:evenodd;stroke:#17220c;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 29.266682,23.859058 h 5.466638 v 6.538719 h 6.135545 L 32,42 23.131133,30.397777 h 6.135549 z"
id="path1-42" />
</g>
</svg>