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

357 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.0"
width="64"
height="64"
id="svg2160"
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/">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>[WandererFan]</dc:title>
</cc:Agent>
</dc:creator>
<dc:date>2016-01-14</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>FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/TechDraw_Symbol.svg</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>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs2162">
<linearGradient
id="linearGradient2">
<stop
style="stop-color:#0846b3;stop-opacity:1;"
offset="0"
id="stop2" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="1"
id="stop3" />
</linearGradient>
<linearGradient
id="linearGradient3775">
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="0"
id="stop3777" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3779" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3775"
id="linearGradient3781"
x1="10"
y1="39.999996"
x2="53"
y2="25.999996"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-64,3.8146973e-6)" />
<linearGradient
xlink:href="#linearGradient3806"
id="linearGradient3012"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.4500001,0,0,1.4705882,-27.45,-15.05882)"
x1="53.421005"
y1="30.675066"
x2="24.2421"
y2="37.068489" />
<linearGradient
id="linearGradient3895">
<stop
id="stop3897"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3899"
offset="1"
style="stop-color:#0846b3;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3895"
id="linearGradient3036"
gradientUnits="userSpaceOnUse"
x1="56.172409"
y1="29.279999"
x2="21.689653"
y2="36.079998"
gradientTransform="matrix(0,-1.4500001,1.4705882,0,-15.05882,91.45)" />
<linearGradient
id="linearGradient3253-6-5">
<stop
id="stop3255-8-4"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3257-7-9"
offset="1"
style="stop-color:#258d7d;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="27.986706"
fy="32.60199"
fx="83.590195"
cy="32.60199"
cx="83.590195"
gradientTransform="matrix(1.2166851,1.0433407,-0.52714011,0.61472119,-73.012055,-80.803852)"
gradientUnits="userSpaceOnUse"
id="radialGradient3270-0-1"
xlink:href="#linearGradient3253-6-5" />
<radialGradient
xlink:href="#linearGradient3253-6"
id="radialGradient3337"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9781457,0.0053484,-0.00460223,0.8416912,-2.1599239,-18.716253)"
cx="10.328116"
cy="25.129232"
fx="10.328116"
fy="25.129232"
r="27.986706" />
<linearGradient
id="linearGradient3253-6">
<stop
id="stop3255-8"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3257-7"
offset="1"
style="stop-color:#258d7d;stop-opacity:1;" />
</linearGradient>
<radialGradient
r="27.986705"
fy="25.129232"
fx="10.328116"
cy="25.129232"
cx="10.328116"
gradientTransform="matrix(0.9781457,0.0053484,-0.00460223,0.8416912,-69.025653,-0.11788499)"
gradientUnits="userSpaceOnUse"
id="radialGradient3293"
xlink:href="#linearGradient3253" />
<linearGradient
xlink:href="#linearGradient3393"
id="linearGradient3270"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9135837,0,0,0.9135837,138.63723,130.60625)"
x1="1669.7314"
y1="1726.0585"
x2="2067.1702"
y2="1726.0585" />
<linearGradient
id="linearGradient3393">
<stop
id="stop3395"
offset="0"
style="stop-color:#347ef7;stop-opacity:1;" />
<stop
id="stop3397"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.9135837,0,0,0.9135837,138.63723,130.60625)"
gradientUnits="userSpaceOnUse"
y2="1726.0585"
x2="2067.1702"
y1="1726.0585"
x1="1669.7314"
id="linearGradient3399"
xlink:href="#linearGradient3393" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1581633,0,0,0.6558985,-7.29237,16.126077)"
r="25.198714"
fy="51.929391"
fx="33.369828"
cy="51.929391"
cx="33.369828"
id="radialGradient6822"
xlink:href="#linearGradient6816" />
<linearGradient
id="linearGradient6781">
<stop
id="stop6783"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop6785"
offset="1"
style="stop-color:#307bf7;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient6816">
<stop
id="stop6818"
offset="0"
style="stop-color:#11111b;stop-opacity:1;" />
<stop
id="stop6820"
offset="1"
style="stop-color:#11111b;stop-opacity:0;" />
</linearGradient>
<radialGradient
r="27.986705"
fy="25.129232"
fx="10.328116"
cy="25.129232"
cx="10.328116"
gradientTransform="matrix(0.9781457,0.0053484,-0.00460223,0.8416912,-69.025653,-0.11788499)"
gradientUnits="userSpaceOnUse"
id="radialGradient3270"
xlink:href="#linearGradient3253" />
<linearGradient
id="linearGradient3253">
<stop
id="stop3255"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3257"
offset="1"
style="stop-color:#258d7d;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3806">
<stop
style="stop-color:#a6e3a1;stop-opacity:1"
offset="0"
id="stop3808" />
<stop
style="stop-color:#359b2e;stop-opacity:1"
offset="1"
id="stop3810" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3775-6"
id="linearGradient3781-3"
x1="10"
y1="39.999996"
x2="53"
y2="25.999996"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-64,3.7403954e-6)" />
<linearGradient
id="linearGradient3775-6">
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="0"
id="stop3777-7" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3779-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient2"
id="linearGradient3"
x1="12"
y1="27.000001"
x2="30"
y2="27.000001"
gradientUnits="userSpaceOnUse" />
</defs>
<rect
style="fill:#6c7086;fill-opacity:1;stroke:#1e1e2e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect2987"
width="45.999996"
height="58.000004"
x="-54.999996"
y="3"
transform="matrix(0,-1,1,0,0,0)" />
<rect
style="display:inline;fill:url(#linearGradient3781-3);fill-opacity:1;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2987-1"
width="41.999996"
height="54.000004"
x="-52.999996"
y="5"
transform="rotate(-90)" />
<rect
style="color:#11111b;fill:none;stroke:#313244;stroke-width:2;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"
id="rect3894"
width="50"
height="38"
x="7"
y="13" />
<rect
style="color:#11111b;fill:none;stroke:#313244;stroke-width:1.99999988;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"
id="rect4664"
width="23.999994"
height="12.000004"
x="33"
y="39" />
<path
style="fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 37,43 15.398794,0 0,0"
id="path4666" />
<path
style="display:inline;fill:none;stroke:#313244;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 37,47 h 15.642526 v 0"
id="path4666-7" />
<g
id="layer1"
transform="matrix(0,-0.42543722,0.42543722,0,5.2149434,62.276312)"
style="display:inline" />
<g
id="g2"
transform="matrix(1.2222222,0,0,1.5714285,1.8614946,-26.244705)"
style="display:inline">
<path
style="fill:#89b4fa;stroke:#052459;stroke-width:2;stroke-linecap:square"
d="M 31,37 V 27 H 21 V 17 H 11 v 20 z"
id="path1"
transform="matrix(0.81818183,0,0,0.63636367,-1.5230411,16.701177)" />
<path
style="fill:url(#linearGradient3);stroke:#89b4fa;stroke-width:2;stroke-linecap:square"
d="m 13,19 h 6 v 10 h 10 v 6 H 13 Z"
id="path2"
transform="matrix(0.81818183,0,0,0.63636367,-1.5230411,16.701177)" />
</g>
<g
id="g1"
transform="matrix(0.42543722,0,0,0.42543722,5.7237122,33.214968)"
style="display:inline">
<path
id="path3343"
d="M 35.907323,8.8968626 V 23.000001 H 3 l 10e-8,23.505231 H 35.907323 V 60.60837 L 64.1136,34.752616 Z"
style="display:inline;fill:url(#linearGradient3012);fill-opacity:1;fill-rule:evenodd;stroke:#1c5017;stroke-width:4.70105;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path3343-2"
d="m 40.608369,19.248595 v 8.452452 H 7.7010462 V 41.804185 H 40.608369 v 8.06651 L 57.062031,34.752616 Z"
style="display:inline;fill:none;stroke:#a6e3a1;stroke-width:4.70105;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>