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

319 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="linearGradient3900">
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="0"
id="stop3902" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3904" />
</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,-20.398432,-15.05882)"
x1="22.62105"
y1="35.470131"
x2="61.526257"
y2="32.273422" />
<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:#f2cdcd;stop-opacity:1"
offset="0"
id="stop3808" />
<stop
style="stop-color:#912424;stop-opacity:1"
offset="1"
id="stop3810" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3900"
id="linearGradient3906"
x1="22"
y1="33"
x2="15"
y2="19"
gradientUnits="userSpaceOnUse" />
</defs>
<rect
style="fill:#cdd6f4;fill-opacity:1;stroke:#1e1e2e;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2987"
width="48.658924"
height="57.944008"
x="-54.971996"
y="3.0279987"
transform="rotate(-90)" />
<path
style="fill:#e9ebe7;fill-opacity:1;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1"
width="48.658924"
height="57.944008"
x="-54.971996"
y="3.0279987"
transform="rotate(-90)"
d="M -52.972656,5.0273437 H -8.3125 V 58.972656 h -44.660156 z" />
<g
id="layer1"
transform="matrix(0.42543722,0,0,0.42543722,31.723712,30.214919)">
<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="fill:url(#linearGradient3012);fill-opacity:1;fill-rule:evenodd;stroke:#4c1313;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="fill:none;stroke:#f2cdcd;stroke-width:4.70105;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
aria-label="DXF"
id="text955"
style="font-size:29.5652px;line-height:1.25;font-family:'Open Sans';-inkscape-font-specification:'Open Sans';letter-spacing:0px;word-spacing:0px;stroke-width:1.47826"
transform="matrix(0.93044057,0,0,1.0696913,2.2283077,-3.5113773)">
<g
aria-label="SVG"
id="text891"
style="font-size:23.8423px;font-family:sans-serif;stroke-width:1.39126">
<path
d="m 18.74553,13.531684 v 3.678793 q -1.431935,-0.640297 -2.794019,-0.966266 -1.362085,-0.325968 -2.572826,-0.325968 -1.606562,0 -2.374917,0.442386 -0.768356,0.442386 -0.768356,1.373726 0,0.698505 0.512237,1.094325 0.523879,0.384177 1.885964,0.663579 l 1.909246,0.384178 q 2.898796,0.582087 4.121179,1.769546 1.222384,1.187458 1.222384,3.376107 0,2.875511 -1.711337,4.284163 -1.699695,1.39701 -5.203862,1.39701 -1.653128,0 -3.3178979,-0.314327 -1.66477,-0.314328 -3.32954,-0.93134 v -3.783568 q 1.66477,0.884772 3.2131225,1.338801 1.5599944,0.442386 3.0035714,0.442386 1.46686,0 2.246857,-0.488953 0.779997,-0.488954 0.779997,-1.39701 0,-0.814923 -0.53552,-1.257309 -0.523879,-0.442386 -2.107157,-0.791639 l -1.73462,-0.384178 Q 8.5822842,22.577323 7.3715424,21.354939 6.1724423,20.132555 6.1724423,18.060324 q 0,-2.59611 1.6764118,-3.993119 1.6764117,-1.39701 4.8196839,-1.39701 1.431935,0 2.945362,0.221193 1.513427,0.209551 3.13163,0.640296 z"
style="font-weight:bold;-inkscape-font-specification:'sans-serif Bold';fill:#1e1e2e"
id="path1831" />
<path
d="m 21.749102,12.984522 h 4.505357 l 4.610132,12.829207 4.598491,-12.829207 h 4.505356 l -6.437887,17.38113 h -5.343562 z"
style="font-weight:bold;-inkscape-font-specification:'sans-serif Bold';fill:#1e1e2e"
id="path1833" />
<path
d="m 57.896729,29.073418 q -1.676412,0.814922 -3.480883,1.222384 -1.804471,0.407461 -3.725359,0.407461 -4.342372,0 -6.880273,-2.421484 -2.537902,-2.433125 -2.537902,-6.589229 0,-4.202671 2.584469,-6.612513 2.584468,-2.409842 7.078182,-2.409842 1.734621,0 3.317899,0.325969 1.594919,0.325969 3.003571,0.966265 v 3.5973 q -1.455219,-0.826564 -2.898796,-1.234025 -1.431935,-0.407461 -2.875511,-0.407461 -2.677602,0 -4.132821,1.501785 -1.443577,1.490144 -1.443577,4.272522 0,2.759094 1.39701,4.260879 1.39701,1.501786 3.969836,1.501786 0.698505,0 1.292234,-0.08149 0.605371,-0.09313 1.082683,-0.279402 V 23.718214 H 50.91168 v -3.003571 h 6.985049 z"
style="font-weight:bold;-inkscape-font-specification:'sans-serif Bold';fill:#1e1e2e"
id="path1835" />
</g>
</g>
</svg>