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

485 lines
16 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="svg3612"
height="64px"
width="64px">
<defs
id="defs3614">
<linearGradient
id="linearGradient4280">
<stop
id="stop4282"
offset="0"
style="stop-color:#ff6000;stop-opacity:1;" />
<stop
id="stop4284"
offset="1"
style="stop-color:#ffee00;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="radialGradient3684"
xlink:href="#linearGradient3144-6" />
<linearGradient
id="linearGradient3144-6">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3146-9" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3148-2" />
</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="radialGradient3686"
xlink:href="#linearGradient3144-6" />
<linearGradient
id="linearGradient3701">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3703" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3705" />
</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="radialGradient3688"
xlink:href="#linearGradient3144-6" />
<linearGradient
id="linearGradient3708">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3710" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3712" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3144-6"
id="radialGradient3723"
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
id="linearGradient3864-0-0">
<stop
style="stop-color:#2168de;stop-opacity:1;"
offset="0"
id="stop3866-5-7" />
<stop
style="stop-color:#7cacfa;stop-opacity:1;"
offset="1"
id="stop3868-7-6" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#f9d791;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
id="linearGradient3864-0">
<stop
style="stop-color:#2168de;stop-opacity:1;"
offset="0"
id="stop3866-5" />
<stop
style="stop-color:#7cacfa;stop-opacity:1;"
offset="1"
id="stop3868-7" />
</linearGradient>
<linearGradient
y2="36.272728"
x2="66.772727"
y1="36.272728"
x1="36.681817"
gradientUnits="userSpaceOnUse"
id="linearGradient4331"
xlink:href="#linearGradient4280" />
<linearGradient
id="linearGradient4280-5">
<stop
id="stop4282-9"
offset="0"
style="stop-color:#007b09;stop-opacity:1;" />
<stop
id="stop4284-5"
offset="1"
style="stop-color:#46ff00;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="38.829369"
fy="552.89734"
fx="2787.5991"
cy="552.89734"
cx="2787.5991"
gradientTransform="matrix(0.1937875,0,0,0.20943582,-425.95281,-115.26147)"
gradientUnits="userSpaceOnUse"
id="radialGradient2411"
xlink:href="#linearGradient3273" />
<linearGradient
id="linearGradient3273">
<stop
id="stop3275"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3277"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<linearGradient
y2="671.11084"
x2="2900.1479"
y1="671.11084"
x1="2754.6858"
gradientTransform="matrix(-1,0,0,-1,5656.8338,1344.2216)"
gradientUnits="userSpaceOnUse"
id="linearGradient2405"
xlink:href="#linearGradient3293" />
<linearGradient
id="linearGradient3293">
<stop
id="stop3295"
offset="0"
style="stop-color:#808000;stop-opacity:1;" />
<stop
id="stop3297"
offset="1"
style="stop-color:#808000;stop-opacity:0;" />
</linearGradient>
<linearGradient
y2="671.11084"
x2="2900.1479"
y1="671.11084"
x1="2754.6858"
gradientTransform="matrix(-1,0,0,-1,5656.8338,1376.2216)"
gradientUnits="userSpaceOnUse"
id="linearGradient2407"
xlink:href="#linearGradient3293" />
<linearGradient
y2="671.11084"
x2="2900.1479"
y1="671.11084"
x1="2754.6858"
gradientTransform="matrix(-1,0,0,-1,5656.8338,1408.2216)"
gradientUnits="userSpaceOnUse"
id="linearGradient2409"
xlink:href="#linearGradient3293" />
<linearGradient
y2="711.11218"
x2="2839.0713"
y1="711.11218"
x1="2732.3572"
gradientTransform="matrix(0.15119754,0,0,0.1937875,-309.70907,-106.60955)"
gradientUnits="userSpaceOnUse"
id="linearGradient2403"
xlink:href="#linearGradient3255" />
<linearGradient
id="linearGradient3255">
<stop
id="stop3257"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3259"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<linearGradient
y2="671.11084"
x2="2900.1479"
y1="671.11084"
x1="2754.6858"
gradientTransform="matrix(-0.1937875,0,0,-0.1937875,670.27087,167.83649)"
gradientUnits="userSpaceOnUse"
id="linearGradient4673"
xlink:href="#linearGradient3293" />
<linearGradient
y2="671.11084"
x2="2900.1479"
y1="671.11084"
x1="2754.6858"
gradientTransform="matrix(-0.1937875,0,0,-0.1937875,670.27087,161.63529)"
gradientUnits="userSpaceOnUse"
id="linearGradient4676"
xlink:href="#linearGradient3293" />
<linearGradient
y2="671.11084"
x2="2900.1479"
y1="671.11084"
x1="2754.6858"
gradientTransform="matrix(-0.1937875,0,0,-0.1937875,670.27087,155.43409)"
gradientUnits="userSpaceOnUse"
id="linearGradient4679"
xlink:href="#linearGradient3293" />
<linearGradient
y2="36.272728"
x2="66.772728"
y1="36.272728"
x1="36.681816"
gradientUnits="userSpaceOnUse"
id="linearGradient4331-8"
xlink:href="#linearGradient4280-8" />
<linearGradient
id="linearGradient4280-8">
<stop
id="stop4282-94"
offset="0"
style="stop-color:#ff6000;stop-opacity:1;" />
<stop
id="stop4284-7"
offset="1"
style="stop-color:#ffee00;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="485.54004"
x2="54.509644"
y1="453.55045"
x1="11.390151"
gradientTransform="matrix(0.98353665,0.01809546,0.01809547,0.98917081,-277.8307,253.19027)"
gradientUnits="userSpaceOnUse"
id="linearGradient3922"
xlink:href="#linearGradient3836" />
<linearGradient
id="linearGradient3836">
<stop
id="stop3838"
offset="0"
style="stop-color:#307bf7;stop-opacity:1;" />
<stop
id="stop3840"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="485.54004"
x2="54.509644"
y1="453.55045"
x1="11.390151"
gradientTransform="matrix(0.98353663,0.01809542,0.01809549,0.98917077,-58.285859,270.17568)"
gradientUnits="userSpaceOnUse"
id="linearGradient3922-3"
xlink:href="#linearGradient3836-6" />
<linearGradient
id="linearGradient3836-6">
<stop
id="stop3838-7"
offset="0"
style="stop-color:#307bf7;stop-opacity:1;" />
<stop
id="stop3840-5"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="485.54004"
x2="54.509644"
y1="453.55045"
x1="11.390151"
gradientTransform="matrix(0.98353663,0.01809542,0.01809549,0.98917077,-75.27572,489.72902)"
gradientUnits="userSpaceOnUse"
id="linearGradient3922-6"
xlink:href="#linearGradient3836-2" />
<linearGradient
id="linearGradient3836-2">
<stop
id="stop3838-9"
offset="0"
style="stop-color:#307bf7;stop-opacity:1;" />
<stop
id="stop3840-1"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="483.99524"
x2="56.319412"
y1="453.77875"
x1="10.387"
gradientTransform="matrix(-0.24930482,-0.22162964,0.21349852,-0.2587998,-46.291565,159.73992)"
gradientUnits="userSpaceOnUse"
id="linearGradient3922-0"
xlink:href="#linearGradient3836-9" />
<linearGradient
id="linearGradient3836-9">
<stop
id="stop3838-3"
offset="0"
style="stop-color:#bc8009;stop-opacity:1" />
<stop
id="stop3840-6"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientTransform="translate(0,-1)"
gradientUnits="userSpaceOnUse"
y2="49"
x2="84"
y1="67"
x1="89"
id="linearGradient3979"
xlink:href="#linearGradient3836-9" />
</defs>
<g
id="layer1">
<path
id="path3981"
d="M 10,32 32,10 54,32 32,54 z"
style="fill:none;stroke:#1e1e2e;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3981-1"
d="M 10,32 32,10 54,32 32,54 z"
style="fill:none;stroke:#6c7086;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<g
transform="matrix(0.94235513,0.01446014,-0.01446079,0.94231206,-148.41745,-195.06938)"
id="g4312"
style="stroke:#307bf7;stroke-width:2.12214079">
<g
id="g4248"
transform="matrix(-0.1153544,-0.09575809,0.09575809,-0.1153544,98.667777,319.83687)"
style="stroke:#307bf7;stroke-width:14.15507818">
<g
style="stroke-width:14.15507818"
id="g3906"
transform="translate(-3.7314339,-3.2817175)">
<path
d="m -194.20237,715.99918 a 49.534277,49.533378 49.435534 1 1 -99.06751,-8.9e-4 49.534277,49.533378 49.435534 1 1 99.06751,8.9e-4 z"
id="path4250"
style="fill:#307bf7;fill-opacity:1;stroke:#052459;stroke-width:14.15507818;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m -208.35,715.9935 a 35.38115,35.392822 49.405722 0 1 -70.77576,0.0116 35.38115,35.392822 49.405722 0 1 70.77576,-0.0116 z"
id="path4250-7"
style="fill:url(#linearGradient3922);fill-opacity:1;stroke:#89b4fa;stroke-width:14.15507818;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m 25.342481,732.98458 a 49.534277,49.533376 49.485683 1 1 -99.06751,-8.9e-4 49.534277,49.533376 49.485683 1 1 99.06751,8.9e-4 z"
id="path4250-3"
style="fill:#307bf7;fill-opacity:1;stroke:#052459;stroke-width:14.15507818;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m 11.194851,732.9789 a 35.381151,35.392823 49.402956 1 1 -70.77576,0.0116 35.381151,35.392823 49.402956 0 1 70.77576,-0.0116 z"
id="path4250-7-5"
style="fill:url(#linearGradient3922-3);fill-opacity:1;stroke:#89b4fa;stroke-width:14.15507818;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m 8.3526097,952.53792 a 49.534277,49.533376 49.485683 1 1 -99.0674997,-8.9e-4 49.534277,49.533376 49.485683 1 1 99.0674997,8.9e-4 z"
id="path4250-2"
style="fill:#307bf7;fill-opacity:1;stroke:#052459;stroke-width:14.15507818;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m -5.7950203,952.53224 a 35.381151,35.392823 49.402956 1 1 -70.7757597,0.0116 35.381151,35.392823 49.402956 0 1 70.7757597,-0.0116 z"
id="path4250-7-7"
style="fill:url(#linearGradient3922-6);fill-opacity:1;stroke:#89b4fa;stroke-width:14.15507818;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
</g>
<path
d="M 36.368516,23.900386 A 13.995767,13.996164 89.972205 1 1 57.629937,42.107623 13.995767,13.996164 89.972205 1 1 36.368516,23.900386 z"
id="path4250-0"
style="fill:#307bf7;fill-opacity:1;stroke:#664506;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="M 37.884589,25.1955 A 11.999423,12.000495 89.925918 1 1 56.114427,40.805652 11.999423,12.000495 89.925918 0 1 37.884589,25.1955 z"
id="path4250-7-6"
style="fill:url(#linearGradient3922-0);fill-opacity:1;stroke:#f9e2af;stroke-width:2;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<g
style="fill:#7f849c;stroke:#11111b;stroke-linejoin:round"
transform="translate(-41,-27)"
id="g3201">
<path
style="fill:#7f849c;stroke:#11111b;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 97,68 0,-10 -2,0 0,-3 c 0,0 0,-6 -7,-6 -7,0 -7,6 -7,6 l 0,3 -2,0 0,10 z"
id="path3195" />
<path
style="fill:url(#linearGradient3979);fill-opacity:1;stroke:#11111b;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="m 85,58 6,0 0,-3 c 0,0 0,-2 -3,-2 -3,0 -3,2 -3,2 z"
id="path3199" />
</g>
</g>
<metadata
id="metadata4818">
<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 Oct 10 13:44:52 2011 +0000</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</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_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:subject>
<rdf:Bag>
<rdf:li>dot</rdf:li>
<rdf:li>line</rdf:li>
<rdf:li>lock</rdf:li>
<rdf:li>circle</rdf:li>
<rdf:li>square</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A square or diamond shape with a dot at each of its three leftmost corners and a larger dot or circle on the rightmost corner containing a lock symbol</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>