Files
create/icons/themed/TechDraw_LandmarkDimension.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"?>
<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="linearGradient3026">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop3028" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3030" />
</linearGradient>
<linearGradient
id="linearGradient3020">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop3022" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3024" />
</linearGradient>
<linearGradient
id="linearGradient3014">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop3016" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3018" />
</linearGradient>
<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"
xlink:href="#linearGradient3014"
gradientTransform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,34.757359,-9.970563)" />
<linearGradient
xlink:href="#linearGradient3020"
id="linearGradient4075"
gradientUnits="userSpaceOnUse"
x1="43.288891"
y1="40.227509"
x2="25.445223"
y2="28.399185"
gradientTransform="matrix(0.66496604,0.67403632,-0.66496604,0.67403632,31.964285,-11.293087)" />
<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>
<linearGradient
xlink:href="#linearGradient3026"
id="linearGradient3065"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,-1.242641,26.029437)"
x1="39.949749"
y1="10.393398"
x2="21.564972"
y2="4.7365441" />
<linearGradient
gradientTransform="translate(15.635019,20.674126)"
gradientUnits="userSpaceOnUse"
y2="24"
x2="24"
y1="24"
x1="48"
id="linearGradient1223"
xlink:href="#linearGradient3026" />
</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_LandmarkDimension</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_LandmarkDimension.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>double arrow</rdf:li>
<rdf:li>diagonal</rdf:li>
<rdf:li>arrow</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Double arrow at angle between two diagonal bars</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<g
id="g1">
<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-9"
width="7.573863"
height="30.295454"
x="-28.40094"
y="30.107107"
rx="1.9999999"
ry="2.0645161"
transform="rotate(-45)" />
<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-8"
width="7.573863"
height="30.295454"
x="20.82917"
y="30.107107"
rx="1.9999999"
ry="2.0645161"
transform="rotate(-45)" />
<rect
style="fill:#f9e2af;fill-opacity:1;stroke:none;stroke-width:0.999994;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect2-7"
width="3.786932"
height="26.451096"
x="-26.507473"
y="32.000572"
rx="0.99999994"
ry="0.99999982"
transform="rotate(-45)" />
<rect
style="fill:#f9e2af;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect2-6-1"
width="3.786932"
height="26.50852"
x="22.722635"
y="32.000572"
rx="0.99999994"
ry="0.99999994"
transform="rotate(-45)" />
<g
id="g6-3"
transform="matrix(0.72887251,0.72578279,-0.56132491,0.56273466,-10.61285,-41.839654)"
style="stroke-width:1.10595">
<rect
style="fill:#664506;fill-opacity:1;stroke:none;stroke-width:1.65895;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:100;stroke-dasharray:none;stroke-dashoffset:3.45;stroke-opacity:1"
id="rect4-4"
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.2581276"
ry="0.9721995" />
<path
style="fill:#f8c459;fill-opacity:1;stroke:#664506;stroke-width:1.65894;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-7" />
<path
style="fill:#f8c459;fill-opacity:1;stroke:#664506;stroke-width:1.65894;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-3" />
<rect
style="fill:#f8c459;fill-opacity:1;stroke:none;stroke-width:3.31787;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:100;stroke-dashoffset:8.71"
id="rect3-6"
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.6911302"
ry="1.7499589" />
</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.38838,23.914826 C 40.085174,6.61162 40.085174,6.61162 40.085174,6.61162"
id="path2" />
<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 22.576529,58.724873 C 5.2751253,41.423471 5.2751253,41.423471 5.2751253,41.423471"
id="path2-3" />
</g>
<g
transform="matrix(0.75,0,0,0.75,14.248055,13.860763)"
id="g2081">
<path
style="fill:#f8c459;fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 31.635019,60.674126 14.4,-26.400003 14.4,26.400003 z"
id="path1197" />
<g
id="g2075">
<path
id="path1225"
d="m 40.035019,50.929961 h 12"
style="fill:none;fill-rule:evenodd;stroke:#664506;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1227"
d="m 46.035019,44.929961 v 12"
style="fill:none;fill-rule:evenodd;stroke:#664506;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</g>
</svg>