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

157 lines
5.6 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
id="svg5821"
height="64px"
width="64px"
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
id="stop6351"
offset="0"
style="stop-color:#11111b;stop-opacity:1;" />
<stop
id="stop6353"
offset="1"
style="stop-color:#11111b;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#0845b0;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#5190f8;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientTransform="matrix(-1,0,0,1,2199.356,0)"
gradientUnits="userSpaceOnUse"
y2="1190.875"
x2="1267.9062"
y1="1190.875"
x1="901.1875"
id="linearGradient3383"
xlink:href="#linearGradient3377" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1.4307499,-1.3605156e-7,-1.202713e-8,0.1264801,2674.7488,1244.2826)"
r="194.40614"
fy="1424.4465"
fx="1103.6399"
cy="1424.4465"
cx="1103.6399"
id="radialGradient6355"
xlink:href="#linearGradient6349" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="16"
x2="31"
y1="50"
x1="35"
id="linearGradient3899"
xlink:href="#linearGradient3893" />
<linearGradient
id="linearGradient3893">
<stop
id="stop3895"
offset="0"
style="stop-color:#6c7086;stop-opacity:1" />
<stop
id="stop3897"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="4.7365441"
x2="21.564972"
y1="10.393398"
x1="39.949749"
id="linearGradient3907-7"
xlink:href="#linearGradient3893-4"
gradientTransform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,34.704127,-9.9426796)" />
<linearGradient
id="linearGradient3893-4">
<stop
id="stop3895-0"
offset="0"
style="stop-color:#6c7086;stop-opacity:1" />
<stop
id="stop3897-9"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:1" />
</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:title>TechDraw_Dimension</dc:title>
<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.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:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>arrow</rdf:li>
<rdf:li>double arrow</rdf:li>
<rdf:li>diagonal</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Double arrow at an angle between two diagonal lines</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<g
transform="translate(-0.08539082,2.8879528)"
id="g3362">
<path
style="fill:#f8c459;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:1.60000002;stroke-opacity:1"
d="M 45.623377,3.2319738 C 44.440635,3.3691988 43.271166,3.6952324 42.151985,4.2256428 36.785578,6.7693345 37.566633,14.713741 35.728949,18.59477 34.655613,20.861562 3.8742795,48.865635 3.8742795,48.865635 c -0.7918814,3.685437 1.0580012,6.558916 4.7551482,6.168975 0,0 30.6088773,-25.143107 33.2958053,-27.147263 2.686927,-2.004157 8.13509,3.152452 12.05453,1.293024 3.581886,-1.697357 5.858846,-5.106412 6.498287,-9.025278 l -8.667612,4.110553 -8.011671,-5.541573 0.783374,-9.7090729 8.668476,-4.1006722 C 50.894793,3.543732 48.225412,2.9300868 45.623377,3.2319738 Z M 7.9971127,49.46869 c 0.743627,-0.06506 1.390928,0.398913 1.446692,1.036308 0.05577,0.637395 -0.501134,1.206722 -1.24476,1.27178 -0.7436269,0.06506 -1.3919151,-0.398827 -1.447681,-1.036222 -0.055765,-0.637395 0.5021226,-1.206808 1.245749,-1.271866 z"
id="path1428-3" />
<path
style="fill:none;stroke:#f9e2af;stroke-width:2.10642624;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 11.140824,50.491578 39.333516,27.034082"
id="path3358" />
</g>
</g>
</svg>