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

148 lines
4.8 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
width="64"
height="64"
id="svg3085"
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="defs3087">
<linearGradient
id="linearGradient5062">
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop5058" />
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="1"
id="stop5060" />
</linearGradient>
<linearGradient
id="linearGradient3836-0">
<stop
id="stop5008"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop5010"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient7597">
<stop
id="stop7599"
style="stop-color:#000003;stop-opacity:1"
offset="0" />
<stop
id="stop7601"
style="stop-color:#000003;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient3893">
<stop
id="stop3895"
style="stop-color:#cdd6f4;stop-opacity:1"
offset="0" />
<stop
id="stop3897"
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
x1="15.71482"
y1="22.299377"
x2="34.136208"
y2="22.299377"
id="linearGradient7603"
xlink:href="#linearGradient7597"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3836-0-3">
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop3838-2" />
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="1"
id="stop3840-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5064"
x1="33.055637"
y1="43.596096"
x2="42.195377"
y2="57.417107"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.64238123,0,0,0.64239301,13.518542,18.480431)" />
<linearGradient
xlink:href="#linearGradient5062"
id="linearGradient5064-1"
x1="33.055637"
y1="43.596096"
x2="42.195377"
y2="57.417107"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.64238123,0,0,0.64239301,16.168778,21.131577)" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient3922"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.20770928,-0.18465137,0.17787713,-0.21561979,-45.700119,137.6269)"
x1="11.390151"
y1="453.55045"
x2="54.509644"
y2="485.54004" />
<linearGradient
id="linearGradient3836-9-3">
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="0"
id="stop3838-8-5" />
<stop
style="stop-color:#307bf7;stop-opacity:1"
offset="1"
id="stop3840-1-6" />
</linearGradient>
</defs>
<metadata
id="metadata3090">
<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">
<g
id="g40"
transform="matrix(0.86962493,0,0,0.86962474,4.1720044,4.1720253)"
style="stroke-width:1.14992">
<path
style="fill:#89b4fa;fill-opacity:1;stroke:#052459;stroke-width:2.29984;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path4250"
d="M 23.263097,24.518251 A 11.502815,11.502299 0.0048887 1 1 40.736898,39.48171 11.502815,11.502299 0.0048887 1 1 23.263097,24.518251 Z" />
<path
style="fill:url(#linearGradient3922);fill-opacity:1;stroke:#89b4fa;stroke-width:2.29984;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;font-variation-settings:normal;opacity:1;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter;stroke-dashoffset:0;-inkscape-stroke:none;stop-color:#11111b;stop-opacity:1"
id="path1"
d="m 32.175781,22.794922 c 2.057708,0.0371 4.120381,0.761913 5.8125,2.210937 3.85283,3.29932 4.30235,9.127829 1,12.980469 -3.297926,3.85424 -9.123393,4.307423 -12.976562,1.007813 -3.85283,-3.29932 -4.30235,-9.127829 -1,-12.980469 1.862092,-2.1762 4.518208,-3.266456 7.164062,-3.21875 z" />
</g>
</g>
</svg>