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

285 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="svg3020"
height="64px"
width="64px">
<title
id="title3735">MeshPart_CreateFlatFace</title>
<defs
id="defs3022">
<linearGradient
id="linearGradient985">
<stop
id="stop981"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop983"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient969">
<stop
id="stop965"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop967"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient961">
<stop
id="stop957"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop959"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient4387">
<stop
id="stop4389"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop4391"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3045">
<stop
id="stop3047"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3049"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="19.467436"
fy="28.869568"
fx="45.883327"
cy="28.869568"
cx="45.883327"
gradientTransform="translate(-68.915512,-13.766745)"
gradientUnits="userSpaceOnUse"
id="radialGradient3048"
xlink:href="#linearGradient3377" />
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
gradientTransform="matrix(-1,0,0,1,36.000001,-4)"
gradientUnits="userSpaceOnUse"
y2="60"
x2="12.000001"
y1="48"
x1="16.000002"
id="linearGradient4165"
xlink:href="#linearGradient4081" />
<linearGradient
id="linearGradient4081">
<stop
id="stop4083"
offset="0"
style="stop-color:#f2cdcd;stop-opacity:1" />
<stop
id="stop4085"
offset="1"
style="stop-color:#912424;stop-opacity:1" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4081"
id="linearGradient3049"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.83065033,0.55679442,-0.55679442,0.83065033,34.6951,-1.7840604)"
x1="14.824193"
y1="50.468616"
x2="20.93985"
y2="56.000233" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="79.51178"
x2="179.62236"
y1="70.987976"
x1="152.39664"
id="linearGradient963"
xlink:href="#linearGradient961" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="91.844093"
x2="152.07161"
y1="106.10841"
x1="175.1642"
id="linearGradient971"
xlink:href="#linearGradient969" />
<linearGradient
y2="91.844093"
x2="152.07161"
y1="106.10841"
x1="175.1642"
gradientUnits="userSpaceOnUse"
id="linearGradient977"
xlink:href="#linearGradient969" />
<linearGradient
y2="79.51178"
x2="179.62236"
y1="70.987976"
x1="152.39664"
gradientUnits="userSpaceOnUse"
id="linearGradient979"
xlink:href="#linearGradient961" />
<linearGradient
gradientTransform="matrix(0.8660254,-0.60916611,0.41039709,0.8660254,-14.95884,125.22502)"
gradientUnits="userSpaceOnUse"
y2="123.04827"
x2="182.55371"
y1="135.59476"
x1="210.34119"
id="linearGradient987"
xlink:href="#linearGradient985" />
<linearGradient
y2="106.36677"
x2="195.58838"
y1="152.52873"
x1="193.22314"
gradientTransform="matrix(0.58081877,-0.33533587,0.27524173,0.47673267,-100.4316,41.478042)"
gradientUnits="userSpaceOnUse"
id="linearGradient1004"
xlink:href="#linearGradient985" />
</defs>
<metadata
id="metadata3025">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>MeshPart_CreateFlatFace</dc:title>
<cc:license
rdf:resource="https://www.gnu.org/copyleft/lesser.html" />
<dc:description>Cone surface unwrapped </dc:description>
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>Cone</rdf:li>
<rdf:li>plane</rdf:li>
<rdf:li>red arrow</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:relation />
<dc:identifier />
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:date>19-06-2020</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[bitacovir]</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
id="path955"
d="m 32.870352,46.028619 c 6.489145,-5.834795 8.797751,-16.033013 6.895532,-24.676092 l 19.640012,-4.732545 c 3.433732,18.328015 1.807661,31.352465 -13.722816,44.412102 z"
style="fill:url(#linearGradient1004);fill-opacity:1;stroke:#11111b;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<g
transform="matrix(0.76537255,0,0,0.59466103,-109.53789,-35.972434)"
id="g975"
style="stroke-width:3.5;stroke-miterlimit:4;stroke-dasharray:none">
<path
style="fill:url(#linearGradient977);fill-opacity:1;stroke:#052459;stroke-width:3.29157;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 183.12278,77.480096 -7.45508,40.696984 c -2.45739,6.39282 -13.44108,9.38401 -18.27601,1.21769 l -9.70913,-41.401316 z"
id="path953" />
<ellipse
style="fill:url(#linearGradient979);fill-opacity:1;fill-rule:evenodd;stroke:#052459;stroke-width:3.29157;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="path951"
cx="165.36699"
cy="76.380585"
rx="17.892509"
ry="10.89951" />
</g>
<g
id="g995">
<path
style="display:inline;overflow:visible;visibility:visible;fill:url(#linearGradient3049);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2.2;marker:none;enable-background:accumulate"
d="M 14.577841,56.96367 29,57 23.486551,43.673264 l -2.227177,3.322601 -9.967806,-6.681533 -4.4543547,6.645202 9.9678057,6.681534 z"
id="rect3165" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 18.466319,54.754658 1.113588,-1.6613 -9.9678038,-6.681534 3.3407658,-4.983901"
id="path4087" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 15.768182,54.861322 12.089968,0.0052"
id="path4089" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 17.918607,51.979769 0.547712,2.774889"
id="path4091" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 27.040988,56.356586 22.755832,45.997211"
id="path4042" />
<path
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:#340404;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="M 15.058822,56.727356 29.480981,56.763686 23.967532,43.436951 21.740355,46.759552 11.77255,40.078018 7.3181947,46.723221 17.286,53.404754 Z"
id="rect3165-1" />
</g>
<path
id="path997"
d="M 24.647215,3.7918792 23.699245,15.302941"
style="fill:none;stroke:#052459;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path1010"
d="m 7.922319,16.843391 5.07841,17.198881 c 1.793792,2.338466 4.895506,2.024356 6.310116,1.693404"
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1012"
d="m 16.262175,17.902639 c 2.782261,0.02833 3.754903,0.05921 7.262918,-0.695895"
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1014"
d="m 42.062819,22.829906 15.85449,-3.799425 C 61.07249,34.587394 57.651214,48.835231 45.93292,58.194585 L 35.659759,46.129191 c 2.955032,-2.72213 8.057497,-12.411966 6.40306,-23.299285 z"
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>