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

137 lines
5.1 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="linearGradient3779">
<stop
id="stop3781"
offset="0"
style="stop-color:#258e7e;stop-opacity:1" />
<stop
id="stop3783"
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="radialGradient3011"
xlink:href="#linearGradient3144" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="508.38715"
x2="146.08063"
y1="728.83636"
x1="170.20491"
id="linearGradient3785"
xlink:href="#linearGradient3779" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.1621282,0,0,0.1621282,6.3605986,-66.108806)"
id="g4289">
<path
id="rect2269"
d="M 277.8342,450.93208 91.251015,618.75727 c -8.918335,-3.55647 -18.650534,-5.41282 -28.857145,-5.13952 -40.206815,1.07665 -71.8358285,34.50943 -70.759301,74.72077 1.0765272,40.21135 34.505519,72.0416 74.712334,70.96496 40.206817,-1.07665 72.033487,-34.7071 70.956957,-74.91845 -0.10549,-3.93995 -0.6803,-7.71094 -1.38356,-11.46508 L 324.67764,503.11801 277.8342,450.93208 z"
style="color:#11111b;fill:url(#linearGradient3785);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 276.74385,468.64297 94.08423,632.57831 c -8.91833,-3.55647 -25.263569,-7.19772 -36.016523,-5.77147 -35.913836,4.76357 -53.8623972,30.41905 -54.1239057,64.67562 -0.2495862,32.69478 36.3906717,55.11513 55.5116257,55.51162 26.648562,0.55259 62.860723,-13.7279 65.072103,-62.27432 0.24957,-5.47877 -0.90505,-11.37956 -2.99603,-15.53019 l 185.73261,-167.0305 z"
style="color:#11111b;fill:none;stroke:#94e2d5;stroke-width:12.33591689;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="metadata6305">
<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_Endpoint.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:subject>
<rdf:Bag>
<rdf:li>line</rdf:li>
<rdf:li>endpoint</rdf:li>
<rdf:li />
</rdf:Bag>
</dc:subject>
<dc:description>Line with bulge at one endpoint</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>