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

183 lines
7.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="svg2726"
height="64px"
width="64px">
<defs
id="defs2728">
<linearGradient
id="linearGradient3827">
<stop
id="stop3829"
offset="0"
style="stop-color:#258e7e;stop-opacity:1" />
<stop
id="stop3831"
offset="1"
style="stop-color:#94e2d5;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3819">
<stop
id="stop3821"
offset="0"
style="stop-color:#258e7e;stop-opacity:1" />
<stop
id="stop3823"
offset="1"
style="stop-color:#94e2d5;stop-opacity:1" />
</linearGradient>
<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="radialGradient3850"
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-2"
xlink:href="#linearGradient3144-7" />
<linearGradient
id="linearGradient3144-7">
<stop
id="stop3146-4"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3148-4"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3144-7"
id="radialGradient4437"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
cx="225.26402"
cy="672.79736"
fx="225.26402"
fy="672.79736"
r="34.345188" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="690.13739"
x2="206.72833"
y1="615.00635"
x1="188.60719"
id="linearGradient3825"
xlink:href="#linearGradient3819" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="450.93207"
x2="102.63113"
y1="771.66589"
x1="213.65439"
id="linearGradient3833"
xlink:href="#linearGradient3827" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.1621282,0,0,0.1621282,6.3605986,-66.108806)"
id="g4289">
<path
id="path4364"
d="m 158.04599,438.59616 c -92.004046,0 -166.4381056,74.62759 -166.4381056,166.63164 0,92.00406 74.4340596,166.43812 166.4381056,166.43812 92.00406,0 166.63165,-74.43406 166.63165,-166.43812 0,-92.00405 -74.62759,-166.63164 -166.63165,-166.63164 z m 0.0968,61.67958 c 60.62343,0 104.8553,44.23189 104.8553,104.8553 0,60.62344 -44.23187,104.85529 -104.8553,104.85529 -60.623416,0 -104.855291,-44.23185 -104.855291,-104.85529 0,-60.62341 44.231875,-104.8553 104.855291,-104.8553 z"
style="color:#11111b;fill:url(#linearGradient3833);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
transform="matrix(-1.1208489,0.22223427,-0.22223425,-1.120849,524.72228,1295.721)"
style="color:#11111b;fill:url(#linearGradient3825);fill-opacity:1;fill-rule:nonzero;stroke:#103b35;stroke-width:10.79571282000000000;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"
id="path3162"
d="m 245.71428,655.2193 a 48.57143,48.57143 0 0 1 -48.57143,48.57143 48.57143,48.57143 0 0 1 -48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,48.57143 z" />
<path
transform="matrix(-3.1134692,0.61731735,-0.61731739,-3.1134692,1176.4192,2523.4365)"
style="color:#11111b;fill:none;stroke:#94e2d5;stroke-width:3.88645675;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"
id="path3162-1"
d="m 245.71428,655.2193 a 48.57143,48.57143 0 0 1 -48.57143,48.57143 48.57143,48.57143 0 0 1 -48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,48.57143 z" />
<path
transform="matrix(-2.3662365,0.46916121,-0.46916122,-2.3662368,932.03287,2063.0433)"
style="color:#11111b;fill:none;stroke:#94e2d5;stroke-width:5.11375875;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"
id="path3162-1-7"
d="m 245.71428,655.2193 a 48.57143,48.57143 0 0 1 -48.57143,48.57143 48.57143,48.57143 0 0 1 -48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,48.57143 z" />
<path
transform="matrix(-0.87177137,0.17284887,-0.17284887,-0.87177148,443.26017,1142.2566)"
style="color:#11111b;fill:none;stroke:#94e2d5;stroke-width:13.88020229;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"
id="path3162-1-7-4"
d="m 245.71428,655.2193 a 48.57143,48.57143 0 0 1 -48.57143,48.57143 48.57143,48.57143 0 0 1 -48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,-48.57143 48.57143,48.57143 0 0 1 48.57143,48.57143 z" />
</g>
</g>
<metadata
id="metadata6233">
<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_Center.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 concentric circle and dot</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>dot</rdf:li>
<rdf:li>circle</rdf:li>
<rdf:li>concentric</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>