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

317 lines
11 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.4499974,0,0,1.4705882,-20.398395,-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>
<g
id="g1">
<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.425438,0,0,0.42543722,31.723686,30.214946)">
<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="translate(0,-2)">
<path
d="m 24.094679,21.682327 q 0,4.550479 -2.596673,6.970679 -2.584067,2.420199 -7.474887,2.420199 H 8.8045642 v -18.42881 h 5.7857888 q 4.512664,0 7.008496,2.382384 2.49583,2.382383 2.49583,6.655548 z m -4.058876,0.100842 q 0,-5.937052 -5.243766,-5.937052 h -2.079859 v 12.000156 h 1.676492 q 5.647133,0 5.647133,-6.063104 z"
style="font-weight:bold;-inkscape-font-specification:'Open Sans Bold';stroke-width:1.29077;fill:#1e1e2e"
id="path6692" />
<path
d="m 42.813409,31.073205 h -4.462243 l -4.28577,-6.970678 -4.285769,6.970678 H 25.594698 L 31.708223,21.56888 25.98546,12.644395 h 4.31098 l 3.97064,6.630338 3.895008,-6.630338 h 4.210139 l -5.785789,9.138774 z"
style="font-weight:bold;-inkscape-font-specification:'Open Sans Bold';stroke-width:1.29077;fill:#1e1e2e"
id="path6694" />
<path
d="m 48.977354,31.073205 h -3.844588 v -18.42881 h 10.563163 v 3.201722 h -6.718575 v 4.752163 h 6.252182 v 3.189116 h -6.252182 z"
style="font-weight:bold;-inkscape-font-specification:'Open Sans Bold';stroke-width:1.29077;fill:#1e1e2e"
id="path6696" />
</g>
</g>
</svg>