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

200 lines
7.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg5821"
version="1.1"
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/">
<defs
id="defs5823">
<linearGradient
id="linearGradient6349">
<stop
style="stop-color:#11111b;stop-opacity:1;"
offset="0"
id="stop6351" />
<stop
style="stop-color:#11111b;stop-opacity:0;"
offset="1"
id="stop6353" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#0845b0;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#5190f8;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3377"
id="linearGradient3383"
x1="901.1875"
y1="1190.875"
x2="1267.9062"
y2="1190.875"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1,0,0,1,2199.356,0)" />
<radialGradient
xlink:href="#linearGradient6349"
id="radialGradient6355"
cx="1103.6399"
cy="1424.4465"
fx="1103.6399"
fy="1424.4465"
r="194.40614"
gradientTransform="matrix(-1.4307499,-1.3605156e-7,-1.202713e-8,0.1264801,2674.7488,1244.2826)"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient3893"
id="linearGradient3899"
x1="35"
y1="50"
x2="31"
y2="16"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3893">
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="0"
id="stop3895" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3897" />
</linearGradient>
</defs>
<metadata
id="metadata5826">
<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-04-27</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/TechDraw_Dimension_Horizontal.svg</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license
rdf:resource="https://www.gnu.org/licenses/lgpl-3.0.en.html">https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:subject>
<rdf:Bag>
<rdf:li>double arrow</rdf:li>
<rdf:li>arrow</rdf:li>
<rdf:li>horizontal</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Double arrow between two bars</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<rect
style="fill:#664506;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect1-1"
width="7.9999995"
height="32"
x="2.0000005"
y="16"
rx="1.9999999"
ry="2.0645161" />
<rect
style="fill:#664506;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect1-2-5"
width="7.9999995"
height="32"
x="54"
y="16"
rx="1.9999999"
ry="2.0645161" />
<rect
style="fill:#f9e2af;fill-opacity:1;stroke:none;stroke-width:0.999996;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect2-8"
width="4"
height="27.939342"
x="4"
y="18"
rx="1"
ry="0.99999988" />
<rect
style="fill:#f9e2af;fill-opacity:1;stroke:none;stroke-width:0.999999;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect2-6-8"
width="4"
height="27.999998"
x="56"
y="18"
rx="1"
ry="1" />
<g
id="g6-5"
transform="matrix(0.00230768,1.0864697,-0.83955055,0.00105294,55.321929,-54.977387)"
style="stroke-width:1.04704">
<rect
style="fill:#664506;fill-opacity:1;stroke:none;stroke-width:1.57058;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
id="rect4-3"
width="37.553383"
height="5.5224795"
x="-46.836781"
y="77.283447"
transform="matrix(9.6913757e-4,-0.99999953,0.99999622,0.0027487,0,0)"
rx="1.1911108"
ry="0.92041326" />
<path
style="fill:#f8c459;fill-opacity:1;stroke:#664506;stroke-width:1.57057;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="M 74.376743,10.515111 C 79.820366,0.51684628 79.820366,0.51684628 79.820366,0.51684628 L 85.692042,10.518727 Z"
id="path5-2" />
<path
style="fill:#f8c459;fill-opacity:1;stroke:#664506;stroke-width:1.57057;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="m 85.658189,45.461925 c -5.443621,9.998132 -5.443621,9.998132 -5.443621,9.998132 L 74.34289,45.45831 Z"
id="path5-1-9" />
<rect
style="fill:#f8c459;fill-opacity:1;stroke:none;stroke-width:3.14114;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect3-9"
width="41.242214"
height="2.7612395"
x="-48.288445"
y="78.64576"
transform="matrix(9.6914399e-4,-0.99999953,0.99999622,0.0027487,0,0)"
rx="2.5477815"
ry="1.6567436" />
</g>
<path
style="fill:#f8c459;fill-opacity:1;stroke:#f8c459;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="m 57.000007,44.923619 c 0,-25.847236 0,-25.847236 0,-25.847236"
id="path2-8" />
<path
style="fill:#f9e2af;fill-opacity:1;stroke:#f8c459;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:8.71;stroke-opacity:1"
d="m 5.0000002,44.922273 c 0,-25.844544 0,-25.844544 0,-25.844544"
id="path2-3" />
</svg>