Files
create/icons/themed/Draft_Snap_Near.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
5.7 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">
<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-4" />
<linearGradient
id="linearGradient3144-4">
<stop
id="stop3146-2"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3148-0"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="-461.80075"
x2="-385.55225"
y1="-559.67511"
x1="-506.27731"
id="linearGradient3768"
xlink:href="#linearGradient3770" />
<linearGradient
id="linearGradient3770">
<stop
style="stop-color:#258e7e;stop-opacity:1"
offset="0"
id="stop3772" />
<stop
style="stop-color:#94e2d5;stop-opacity:1"
offset="1"
id="stop3774" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3770"
id="linearGradient3021"
gradientUnits="userSpaceOnUse"
x1="-506.27731"
y1="-559.67511"
x2="-385.55225"
y2="-461.80075"
gradientTransform="translate(1.3659092,13.421127)" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="18.702312"
x2="29.055662"
y1="34.472939"
x1="34.969646"
id="linearGradient3803"
xlink:href="#linearGradient3770" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.1621282,0,0,0.1621282,6.3605986,-66.108806)"
id="g4289">
<path
transform="matrix(6.2576679,0,0,6.2576679,19.497793,340.06718)"
d="m 40.88363,26.587624 a 8.8709764,8.8709764 0 0 1 -8.870977,8.870976 8.8709764,8.8709764 0 0 1 -8.870976,-8.870976 8.8709764,8.8709764 0 0 1 8.870976,-8.870977 8.8709764,8.8709764 0 0 1 8.870977,8.870977 z"
id="path2998"
style="color:#11111b;fill:url(#linearGradient3803);fill-opacity:1;fill-rule:nonzero;stroke:#103b35;stroke-width:1.97132814999999990;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" />
<rect
transform="matrix(-0.84132761,-0.54052553,0.53359908,-0.84573756,0,0)"
y="-508.47748"
x="-598.25177"
height="62.080875"
width="285.73264"
id="rect3942-4-9-9"
style="color:#11111b;fill:url(#linearGradient3021);fill-opacity:1;fill-rule:nonzero;stroke:#103b35;stroke-width:12.33612484;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="path3810"
d="M 28.55913,563.39166 248.26361,704.69604 228.35792,736.44701 8.5460597,595.24502 z"
style="fill:none;stroke:#94e2d5;stroke-width:12.33591689;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
transform="matrix(4.8670752,0,0,4.867075,64.014356,377.03975)"
d="m 40.88363,26.587624 a 8.8709764,8.8709764 0 0 1 -8.870977,8.870976 8.8709764,8.8709764 0 0 1 -8.870976,-8.870976 8.8709764,8.8709764 0 0 1 8.870976,-8.870977 8.8709764,8.8709764 0 0 1 8.870977,8.870977 z"
id="path2998-1"
style="color:#11111b;fill:none;stroke:#94e2d5;stroke-width:2.53456473;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="metadata6518">
<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>Fri Mar 16 18:29:56 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_Near.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 dot or circle above and to the right of a line at a slight angle</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>line</rdf:li>
<rdf:li>circle</rdf:li>
<rdf:li>dot</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>