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

261 lines
8.8 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="svg2568"
height="64px"
width="64px">
<title
id="title3032">MeshWorkbench</title>
<defs
id="defs2570">
<linearGradient
id="linearGradient3864">
<stop
style="stop-color:#71f873;stop-opacity:1;"
offset="0"
id="stop3866" />
<stop
style="stop-color:#009520;stop-opacity:1;"
offset="1"
id="stop3868" />
</linearGradient>
<radialGradient
r="19.571428"
fy="25.149042"
fx="48.645836"
cy="25.149042"
cx="48.645836"
gradientUnits="userSpaceOnUse"
id="radialGradient3552"
xlink:href="#linearGradient3864" />
<linearGradient
id="linearGradient3593">
<stop
id="stop3595"
offset="0"
style="stop-color:#c8f9d7;stop-opacity:1;" />
<stop
id="stop3597"
offset="1"
style="stop-color:#63ca72;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="19.5714282989502"
fy="24.96270370483398"
fx="51.63789367675781"
cy="24.96270370483398"
cx="51.63789367675781"
gradientUnits="userSpaceOnUse"
id="radialGradient3599"
xlink:href="#linearGradient3593" />
<radialGradient
xlink:href="#linearGradient2269-0"
id="radialGradient3169"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.32526,0,28.08607)"
cx="25.1875"
cy="41.625"
fx="25.1875"
fy="41.625"
r="18.0625" />
<linearGradient
id="linearGradient2269-0">
<stop
style="stop-color:#11111b;stop-opacity:1;"
id="stop2271-4"
offset="0" />
<stop
style="stop-color:#11111b;stop-opacity:0;"
id="stop2273-87"
offset="1" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient2269-0"
id="radialGradient3026"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.32526,0,28.08607)"
cx="25.1875"
cy="41.625"
fx="25.1875"
fy="41.625"
r="18.0625" />
</defs>
<metadata
id="metadata2573">
<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>MeshWorkbench</dc:title>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:subject>
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>sphere</rdf:li>
<rdf:li>workbench</rdf:li>
<rdf:li>tessellated</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:coverage />
<dc:description>Tessellated sphere mesh, lit from top</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<cc:license
rdf:resource="https://www.gnu.org/copyleft/lesser.html" />
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:creator>
<cc:Agent>
<dc:title>[triplus]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>Fri Feb 26 23:17:43 2016 +0100</dc:date>
<dc:identifier>FreeCAD/src/Mod/Mesh/Gui/Resources/icons/MeshWorkbench.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
style="opacity:0.26704544;color:#11111b;fill:url(#radialGradient3026);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible"
d="m 43.25,41.625 a 18.0625,5.875 0 1 1 -36.125,0 18.0625,5.875 0 1 1 36.125,0 z"
transform="matrix(1.6349796,0,0,1.0662685,-9.1810487,12.352246)"
id="path2267" />
<path
id="path3007-3"
d="M 33,5 51,13 19,9 33,5"
style="fill:#a6e3a1;stroke:none" />
<path
id="path3009-6"
d="M 19,9 9,19 51,13 z"
style="fill:#a6e3a1;stroke:none" />
<path
id="path3011-7"
d="M 51,13 57,33 9,19 51,13"
style="fill:#6cd163;stroke:none" />
<path
id="path3851"
d="M 12,18 56,31"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3013-5"
d="M 57,33 7,33 9,19 z"
style="fill:#6cd163;stroke:none" />
<path
id="path3853"
d="M 55,32 49,13"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3845"
d="m 8,31 42,0"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3855"
d="M 16,20 51,15"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3015-3"
d="M 7,33 49,49 57,33 z"
style="fill:#359b2e;stroke:none" />
<path
id="path3847"
d="M 49,33 9,21"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3839"
d="M 48,47 55,33"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3849"
d="M 11,20 9,33"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3017-5"
d="M 49,49 13,47 7,33 z"
style="fill:#359b2e;stroke:none" />
<path
id="path3841"
d="M 56,35 13,35"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3833"
d="M 43,47 12,45"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3843"
d="M 13,34 49,47"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3019-6"
d="M 49,49 33,55 13,47 z"
style="fill:#359b2e;stroke:none" />
<path
id="path3835"
d="M 15,47 9,34"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3827"
d="m 19,48 16,6"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3837"
d="M 8,35 41,48"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3007"
d="M 33,5 51,13 19,9 33,5"
style="fill:none;stroke:#1c5017;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3009"
d="M 19,9 9,19 51,13 z"
style="fill:none;stroke:#1c5017;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3011"
d="M 51,13 57,33 9,19 51,13"
style="fill:none;stroke:#1c5017;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3013"
d="M 57,33 7,33 9,19 z"
style="fill:none;stroke:#1c5017;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3015"
d="M 7,33 49,49 57,33 z"
style="fill:none;stroke:#1c5017;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3829"
d="M 31,54 45,49"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3017"
d="M 49,49 13,47 7,33 z"
style="fill:none;stroke:#1c5017;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3831"
d="m 19,49 26,1"
style="fill:none;stroke:#6cd163;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3019"
d="M 49,49 33,55 13,47 z"
style="fill:none;stroke:#1c5017;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" />
</g>
</svg>