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

192 lines
7.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="svg3230"
height="64px"
width="64px">
<defs
id="defs3232">
<linearGradient
id="linearGradient3838">
<stop
id="stop3840"
offset="0"
style="stop-color:#94e2d5;stop-opacity:1" />
<stop
id="stop3842"
offset="1"
style="stop-color:#258e7e;stop-opacity:1" />
</linearGradient>
<linearGradient
y2="671.11081"
x2="2900.148"
y1="671.11081"
x1="2754.6858"
gradientTransform="matrix(-1,0,0,-1,5656.8338,1408.2216)"
gradientUnits="userSpaceOnUse"
id="linearGradient2409"
xlink:href="#linearGradient3293" />
<linearGradient
y2="671.11081"
x2="2900.148"
y1="671.11081"
x1="2754.6858"
gradientTransform="matrix(-1,0,0,-1,5656.8338,1376.2216)"
gradientUnits="userSpaceOnUse"
id="linearGradient2407"
xlink:href="#linearGradient3293" />
<linearGradient
id="linearGradient3293">
<stop
id="stop3295"
offset="0"
style="stop-color:#002a2d;stop-opacity:1;" />
<stop
id="stop3297"
offset="1"
style="stop-color:#008059;stop-opacity:0;" />
</linearGradient>
<linearGradient
y2="671.11081"
x2="2900.148"
y1="671.11081"
x1="2754.6858"
gradientTransform="matrix(-1,0,0,-1,5656.8338,1344.2216)"
gradientUnits="userSpaceOnUse"
id="linearGradient2405"
xlink:href="#linearGradient3293" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="786.05646"
x2="2859.7263"
y1="538.36249"
x1="2802.9631"
id="linearGradient3844"
xlink:href="#linearGradient3838" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="786.05646"
x2="2859.7263"
y1="538.36249"
x1="2802.9631"
id="linearGradient3844-7"
xlink:href="#linearGradient3838-9" />
<linearGradient
id="linearGradient3838-9">
<stop
id="stop3840-8"
offset="0"
style="stop-color:#94e2d5;stop-opacity:1" />
<stop
id="stop3842-1"
offset="1"
style="stop-color:#258e7e;stop-opacity:1" />
</linearGradient>
<linearGradient
y2="822.17853"
x2="2849.4058"
y1="626.0874"
x1="2802.9631"
gradientUnits="userSpaceOnUse"
id="linearGradient3880"
xlink:href="#linearGradient3838" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.1937875,0,0,0.1937875,-515.01651,-93.777617)"
id="g2383">
<g
style="stroke-width:10.32058310999999939;stroke-miterlimit:4;stroke-dasharray:none;stroke:#103b35;fill:url(#linearGradient3844);stroke-linejoin:round;stroke-linecap:round;fill-opacity:1"
id="g2385"
transform="translate(-6,-8)">
<path
id="path2387"
d="m 2751.3603,595.12568 0,0 0,0 -2e-4,46.44262 30.9618,0 -0.2475,-47.17448 -0.05,0 c 0.2977,-25.0696 20.9388,-45.71077 46.7403,-45.71077 25.8014,0 46.4426,20.64117 46.4421,46.44263 l 0,0 0,46.44262 30.9618,0 0,-46.44262 0,0 c 5e-4,-41.28234 -25.801,-77.40438 -77.4039,-77.40438 -51.6029,0 -77.4044,36.12204 -77.4044,77.40438 z"
style="fill:url(#linearGradient3844);fill-opacity:1;fill-rule:evenodd;stroke:#103b35;stroke-width:10.32058334000000066;stroke-linecap:round;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
y="641.5683"
x="2730.7192"
height="154.80875"
width="196.09097"
id="rect2389"
style="fill:url(#linearGradient3880);fill-opacity:1;fill-rule:evenodd;stroke:#103b35;stroke-width:10.32058310999999939;stroke-linecap:round;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
y="651.88885"
x="2741.0398"
height="134.16759"
width="175.44977"
id="rect2389-0"
style="fill:none;stroke:#94e2d5;stroke-width:10.32058334000000066;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
</g>
<path
id="path3777-7"
d="m 2755.6809,669.69034 134.1676,0"
style="fill:none;stroke:#258e7e;stroke-width:20.64116669;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3777-3-5"
d="m 2755.681,710.97267 134.1676,0"
style="fill:none;stroke:#258e7e;stroke-width:20.64116669;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3777-6-3"
d="m 2755.681,752.255 134.1676,0"
style="fill:none;stroke:#258e7e;stroke-width:20.64116669;stroke-linecap:round;stroke-linejoin:miter;stroke-opacity:1" />
<path
transform="matrix(5.1602916,0,0,5.1602916,2657.6353,483.91985)"
id="path3828"
d="m 19,28 0,-9 c 9e-6,-5.000001 3.999991,-11.999999 13,-12 9.000009,-1e-6 13.000009,6.999999 13,12 l 0,9"
style="fill:none;stroke:#94e2d5;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
<metadata
id="metadata6471">
<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_Lock.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 locked lock</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>lock</rdf:li>
<rdf:li>locked</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>