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

230 lines
8.0 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="svg2985"
height="64px"
width="64px">
<title
id="title889">Surface_Sections</title>
<defs
id="defs2987">
<linearGradient
id="linearGradient873">
<stop
style="stop-color:#307bf7;stop-opacity:1"
offset="0"
id="stop869" />
<stop
style="stop-color:#052459;stop-opacity:1"
offset="1"
id="stop871" />
</linearGradient>
<linearGradient
id="linearGradient863">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop859" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop861" />
</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="linearGradient6321">
<stop
id="stop6323"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop6325"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
gradientTransform="translate(-0.23443224,0.23443198)"
gradientUnits="userSpaceOnUse"
r="19.467436"
fy="28.869568"
fx="45.883327"
cy="28.869568"
cx="45.883327"
id="radialGradient3692"
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
id="linearGradient3377-3">
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="0"
id="stop3379-8" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3381-3" />
</linearGradient>
<radialGradient
r="19.467436"
fy="28.869568"
fx="45.883327"
cy="28.869568"
cx="45.883327"
gradientTransform="matrix(0.67067175,0,0,0.64145918,-63.380792,0.83845403)"
gradientUnits="userSpaceOnUse"
id="radialGradient6412"
xlink:href="#linearGradient3377-3" />
<linearGradient
id="linearGradient3036">
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="0"
id="stop3038" />
<stop
style="stop-color:#912424;stop-opacity:1"
offset="1"
id="stop3040" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.96812402,0,0,0.96755864,-0.72057496,-2.6783592)"
xlink:href="#linearGradient1189"
id="linearGradient2095"
x1="47"
y1="9"
x2="7"
y2="28"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient1189">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop1185" />
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="1"
id="stop1187" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient863"
id="linearGradient865"
x1="46.6022"
y1="43.858482"
x2="24.216953"
y2="19.687834"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient873"
id="linearGradient875"
x1="2.3589988"
y1="44.603367"
x2="17.128839"
y2="46.371136"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata2990">
<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>Surface_Sections</dc:title>
<dc:creator>
<cc:Agent>
<dc:title>[bitacovir]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Part_Shape_from_Mesh</dc:title>
<dc:date>2020/10/03</dc:date>
<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 />
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title></dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>surface</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description></dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<path
style="fill:url(#linearGradient875);fill-opacity:1;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 7.7608127,34.212206 C 3.3525695,35.145898 3.8386931,44.694885 3.3589878,55.281556 11.687791,47.435977 16.832133,49.684319 22.846437,48.744879 18.269369,42.852899 15.434855,31.987976 7.7608127,34.212206 Z"
id="path867" />
<path
style="fill:none;stroke:#11111b;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 13.603223,48.657681 Z"
id="path864" />
<path
style="fill:url(#linearGradient865);fill-opacity:1;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 17.881345,61.413173 C 28.364258,49.565319 42.998359,46.380816 61.043214,50.314406 63.018212,16.615106 45.508432,-18.26569 27.130317,20.224418 20.325083,36.49021 10.560278,33.0702 7.6108853,34.238661 15.609507,31.703264 16.761995,46.429663 17.881345,61.413173 Z"
id="path857" />
<path
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 15.234046,35.288397 c 2.227869,4.970054 3.909698,11.160958 4.476556,21.280146 9.049576,-8.144791 21.104397,-12.05572 39.449081,-8.669871 C 59.971566,32.969926 54.32536,5.8718446 43.243999,5.4137863"
id="path877" />
<path
id="path879-4"
d="M 31.353553,13.247398 C 44.582097,8.5239092 49.062116,38.445822 48.563262,48.329504"
style="fill:none;stroke:#664506;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
style="fill:none;stroke:#f9e2af;stroke-width:3;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 31.353553,13.247398 C 44.582097,8.5239093 49.062116,38.445823 48.563262,48.329505"
id="path879" />
<path
style="fill:none;stroke:#664506;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 20.424965,29.767504 c 8.977529,-1.142006 11.895571,11.636865 11.834709,21.644607"
id="path879-0-5" />
<path
id="path879-0"
d="m 20.424965,29.767504 c 8.977529,-1.142006 11.895571,11.636865 11.834709,21.644607"
style="fill:none;stroke:#f9e2af;stroke-width:3;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>