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

147 lines
5.5 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="svg2726"
height="64px"
width="64px">
<defs
id="defs2728">
<linearGradient
id="linearGradient3782">
<stop
id="stop3784"
offset="0"
style="stop-color:#258e7e;stop-opacity:1" />
<stop
id="stop3786"
offset="1"
style="stop-color:#94e2d5;stop-opacity:1" />
</linearGradient>
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient4274"
xlink:href="#linearGradient3144" />
<linearGradient
id="linearGradient3144">
<stop
id="stop3146"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3148"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient4272"
xlink:href="#linearGradient3144" />
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient3850-9"
xlink:href="#linearGradient3144-7" />
<linearGradient
id="linearGradient3144-7">
<stop
id="stop3146-0"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3148-3"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="481.77188"
x2="145.80684"
y1="740.82611"
x1="170.47868"
id="linearGradient3788"
xlink:href="#linearGradient3782" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.1621282,0,0,0.1621282,6.3605986,-66.108806)"
id="g4289">
<path
id="rect2269"
d="m 286.05557,438.59616 -97.2637,89.49573 c -9.47407,-4.02615 -19.86033,-6.45475 -30.73458,-6.70738 -46.96422,-1.09111 -85.889394,37.06283 -86.956391,85.08801 -0.206698,9.30353 1.102026,18.17235 3.560714,26.63792 l -95.389647,87.77097 44.602625,50.78451 93.515589,-86.04621 c 11.08528,5.82478 23.43483,9.4647 36.73158,9.77362 46.96421,1.09111 86.07678,-37.06283 87.14377,-85.08801 0.26056,-11.72758 -1.9207,-22.84946 -5.80958,-33.15367 l 95.38965,-87.77097 -44.79003,-50.78452 z"
style="color:#11111b;fill:url(#linearGradient3788);fill-opacity:1;fill-rule:nonzero;stroke:#103b35;stroke-width:12.33591689000000000;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
<path
id="rect2269-1"
d="m 285.31157,456.45719 -93.99584,85.85152 c -7.97816,-3.42968 -24.01391,-8.30211 -33.17116,-8.51729 -39.54881,-0.92948 -73.650032,31.3621 -74.548551,72.27243 -0.174054,7.92523 2.630113,24.25109 4.70059,31.4625 l -91.381778,84.35166 27.715843,32.27526 90.876996,-83.85376 c 9.33495,4.96187 25.8826,12.29955 37.07987,12.56271 39.54881,0.92945 75.00897,-29.60952 76.18784,-73.88419 0.26597,-9.98902 -4.7014,-26.47341 -7.97623,-35.25105 l 92.66402,-85.14125 z"
style="color:#11111b;fill:none;stroke:#94e2d5;stroke-width:12.33591652;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
</g>
<metadata
id="metadata6495">
<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></dc:title>
<cc:license
rdf:resource="" />
<dc:date>Mon Mar 12 17:20:03 2012 -0300</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[Yorik van Havre]</dc:title>
</cc:Agent>
</dc:creator>
<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:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_Snap_Midpoint.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:description>A line at an angle with a bulbous center</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>line</rdf:li>
<rdf:li>midpoint</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>