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

461 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="svg2980"
height="64px"
width="64px"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title
id="title1032">TechDraw_Lock</title>
<defs
id="defs2982">
<linearGradient
id="linearGradient2">
<stop
style="stop-color:#258e7e;stop-opacity:1;"
offset="0"
id="stop2" />
<stop
style="stop-color:#54d1bc;stop-opacity:1;"
offset="1"
id="stop3" />
</linearGradient>
<linearGradient
id="linearGradient3864">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop3866" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop3868" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<radialGradient
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
r="19.467436"
fy="77.042847"
fx="84.883324"
cy="77.042847"
cx="84.883324"
gradientUnits="userSpaceOnUse"
id="radialGradient3701"
xlink:href="#linearGradient3377" />
<linearGradient
id="linearGradient3007">
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="0"
id="stop3009" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3011" />
</linearGradient>
<linearGradient
id="linearGradient3377-6">
<stop
style="stop-color:#00afff;stop-opacity:1;"
offset="0"
id="stop3379-2" />
<stop
style="stop-color:#0034ff;stop-opacity:1;"
offset="1"
id="stop3381-4" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3377-6"
id="radialGradient3017-8"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
cx="84.883324"
cy="77.042847"
fx="84.883324"
fy="77.042847"
r="19.467436" />
<linearGradient
id="linearGradient3835">
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="0"
id="stop3837" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3839" />
</linearGradient>
<linearGradient
id="linearGradient3377-2">
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="0"
id="stop3379-7" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3381-8" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3377-2"
id="radialGradient3017-6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.8492421,1.2585119,-0.4040415,0.9147407,-125.84131,-100.25805)"
cx="84.883324"
cy="77.042847"
fx="84.883324"
fy="77.042847"
r="19.467436" />
<linearGradient
id="linearGradient3835-1">
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="0"
id="stop3837-0" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3839-9" />
</linearGradient>
<radialGradient
r="19.467436"
fy="90.601151"
fx="86.836884"
cy="90.601151"
cx="86.836884"
gradientTransform="matrix(-0.19157613,0.46621455,-1.1364164,-0.41904304,156.5648,24.076707)"
gradientUnits="userSpaceOnUse"
id="radialGradient4112"
xlink:href="#linearGradient4032" />
<linearGradient
id="linearGradient4032">
<stop
id="stop4034"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop4036"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="19.467436"
fy="65.849281"
fx="113.50187"
cy="65.849281"
cx="113.50187"
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
gradientUnits="userSpaceOnUse"
id="radialGradient4114"
xlink:href="#linearGradient4032" />
<linearGradient
id="linearGradient3171">
<stop
id="stop3173"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3175"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient4032"
id="radialGradient3180"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
cx="113.50187"
cy="65.849281"
fx="113.50187"
fy="65.849281"
r="19.467436" />
<radialGradient
r="19.467436"
fy="90.601151"
fx="86.836884"
cy="90.601151"
cx="86.836884"
gradientTransform="matrix(-0.19157613,0.46621455,-1.1364164,-0.41904304,162.99236,26.56694)"
gradientUnits="userSpaceOnUse"
id="radialGradient4112-9"
xlink:href="#linearGradient4032-7" />
<linearGradient
id="linearGradient4032-7">
<stop
id="stop4034-3"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop4036-6"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="19.467436"
fy="65.849281"
fx="113.50187"
cy="65.849281"
cx="113.50187"
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
gradientUnits="userSpaceOnUse"
id="radialGradient4114-3"
xlink:href="#linearGradient4032-7" />
<linearGradient
id="linearGradient3171-9">
<stop
id="stop3173-7"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3175-5"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient4032-7"
id="radialGradient3180-6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
cx="113.50187"
cy="65.849281"
fx="113.50187"
fy="65.849281"
r="19.467436" />
<linearGradient
id="linearGradient4032-8">
<stop
id="stop4034-4"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop4036-3"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="19.467436"
fy="65.849281"
fx="113.50187"
cy="65.849281"
cx="113.50187"
gradientTransform="matrix(0.19036833,-0.61386357,1.99853,-0.19092801,-47.133199,165.45559)"
gradientUnits="userSpaceOnUse"
id="radialGradient4114-9"
xlink:href="#linearGradient4032-8" />
<linearGradient
id="linearGradient3171-1">
<stop
id="stop3173-0"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3175-3"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="46.429642"
x2="165.61629"
y1="33.267025"
x1="154.13527"
id="linearGradient3822"
xlink:href="#linearGradient4032-0" />
<linearGradient
id="linearGradient4032-0">
<stop
id="stop4034-37"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop4036-1"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
gradientTransform="matrix(-0.08162339,1.3949072,-1.1572569,-0.26963374,245.22773,-105.44363)"
r="19.467436"
fy="90.193245"
fx="132.70454"
cy="90.193245"
cx="132.70454"
gradientUnits="userSpaceOnUse"
id="radialGradient3703"
xlink:href="#linearGradient4032-0" />
<linearGradient
id="linearGradient3284">
<stop
id="stop3286"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3288"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient4032-0"
id="radialGradient3294"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-0.08162339,1.3949072,-1.1572569,-0.26963374,245.22773,-105.44363)"
cx="132.70454"
cy="90.193245"
fx="132.70454"
fy="90.193245"
r="19.467436" />
<linearGradient
gradientTransform="matrix(-0.99995601,0.00937982,-0.00937982,-0.99995601,39.608226,75.665997)"
gradientUnits="userSpaceOnUse"
y2="55.146343"
x2="21.165751"
y1="27.363932"
x1="11.757756"
id="linearGradient3191"
xlink:href="#linearGradient3193" />
<linearGradient
id="linearGradient3193">
<stop
style="stop-color:#68ff00;stop-opacity:1;"
offset="0"
id="stop3195" />
<stop
style="stop-color:#078b00;stop-opacity:1;"
offset="1"
id="stop3197" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.45833337,0,0,0.51724135,7.374997,5.432404)"
spreadMethod="reflect"
gradientUnits="userSpaceOnUse"
y2="35"
x2="85"
y1="35"
x1="110"
id="linearGradient3807-3-9"
xlink:href="#linearGradient3801-6-1" />
<linearGradient
id="linearGradient3801-6-1">
<stop
id="stop3803-7-2"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3805-5-7"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.19493358,0,0,0.20160286,-519.32058,-99.868717)"
y2="822.17853"
x2="2849.4058"
y1="626.0874"
x1="2802.9631"
gradientUnits="userSpaceOnUse"
id="linearGradient3197"
xlink:href="#linearGradient3166" />
<linearGradient
id="linearGradient3166">
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="0"
id="stop3168" />
<stop
style="stop-color:#912424;stop-opacity:1"
offset="1"
id="stop3170" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient2"
id="linearGradient3"
x1="2.1071069"
y1="79.305664"
x2="89.226877"
y2="79.305664"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata2985">
<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>TechDraw_Lock</dc:title>
<dc:creator>
<cc:Agent>
<dc:title>[bitacovir]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Assembly_Assembly_Constraints_Tree</dc:title>
<dc:date>09-04-2021</dc:date>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier />
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="g13-6"
transform="matrix(0.5056249,0,0,0.5182899,8.9100439,3.8963143)"
style="stroke-width:0.506674">
<path
style="color:#11111b;display:inline;fill:none;stroke:#103b35;stroke-width:11.7206;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 69.399185,52.366485 c 0.0363,-9.83311 -0.0259,-17.17877 0,-27.01191 C 69.398185,12.026008 57.308175,2.2016603 41.710675,2.2015093 26.666071,2.2013637 15.999916,10.77427 15.999916,25.354575 c 0.02998,9.832532 0,27.01191 0,27.01191"
id="path9-6" />
<path
style="color:#11111b;display:inline;fill:none;stroke:#94e2d5;stroke-width:3.90687;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
d="m 69.399185,52.366485 c 0.0363,-9.83311 -0.0259,-17.17877 0,-27.01191 C 69.398185,12.026008 57.308175,2.273694 41.710675,2.273543 26.666071,2.2733974 15.999916,10.77427 15.999916,25.354575 c 0.02998,9.832532 0,27.01191 0,27.01191"
id="path5" />
<rect
style="fill:#94e2d5;stroke:#103b35;stroke-width:3.90688;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:normal"
id="rect1"
width="91.025146"
height="61.693474"
x="0.15359999"
y="48.459625" />
<path
style="fill:url(#linearGradient3);stroke:#94e2d5;stroke-width:3.90688;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;paint-order:normal"
id="rect2"
width="91.025146"
height="61.693474"
x="0.15359999"
y="48.459625"
d="M 4.0605469,52.365234 H 87.273437 V 106.24609 H 4.0605469 Z" />
<path
d="m 44.750842,60.032678 c -5.818575,0 -10.787765,5.426444 -9.766706,11.733821 0.228073,1.408803 0.779328,4.383663 3.722025,6.541121 L 35.777423,98.600582 H 53.57718 L 50.27243,78.73365 c 2.857358,-1.773198 4.377568,-4.969543 4.376597,-8.614423 0,-5.693818 -4.696047,-10.086517 -9.898184,-10.086517 z"
style="display:inline;fill:#103b35;stroke:none;stroke-width:3.90688;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none"
id="path13-5" />
</g>
</svg>