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

292 lines
9.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.1"
width="64"
height="64"
id="svg3085"
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="defs3087">
<linearGradient
id="linearGradient4">
<stop
style="stop-color:#45475a;stop-opacity:1;"
offset="0"
id="stop4" />
<stop
style="stop-color:#585b70;stop-opacity:1;"
offset="1"
id="stop5" />
</linearGradient>
<linearGradient
id="linearGradient1043-3">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop1039" />
<stop
style="stop-color:#89b4fa;stop-opacity:0;"
offset="1"
id="stop1041" />
</linearGradient>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="TriangleOutM"
style="overflow:visible">
<path
id="path1120"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
style="fill-rule:evenodd;stroke:#11111b;stroke-width:1pt;stroke-opacity:1;fill:#11111b;fill-opacity:1"
transform="scale(0.4)" />
</marker>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="TriangleInM"
style="overflow:visible">
<path
id="path1111"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
style="fill-rule:evenodd;stroke:#11111b;stroke-width:1pt;stroke-opacity:1;fill:#11111b;fill-opacity:1"
transform="scale(-0.4)" />
</marker>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="TriangleInL"
style="overflow:visible">
<path
id="path1108"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
style="fill-rule:evenodd;stroke:#11111b;stroke-width:1pt;stroke-opacity:1;fill:#11111b;fill-opacity:1"
transform="scale(-0.8)" />
</marker>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Mend"
style="overflow:visible;">
<path
id="path1081"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#11111b;stroke-opacity:1;fill:#11111b;fill-opacity:1"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.6) rotate(180) translate(0,0)" />
</marker>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Mstart"
style="overflow:visible">
<path
id="path1078"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#11111b;stroke-opacity:1;fill:#11111b;fill-opacity:1"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.6) translate(0,0)" />
</marker>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Lend"
style="overflow:visible;">
<path
id="path1075"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#11111b;stroke-opacity:1;fill:#11111b;fill-opacity:1"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(1.1) rotate(180) translate(1,0)" />
</marker>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Lstart"
style="overflow:visible">
<path
id="path1072"
style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#11111b;stroke-opacity:1;fill:#11111b;fill-opacity:1"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(1.1) translate(1,0)" />
</marker>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lend"
style="overflow:visible;">
<path
id="path1057"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#11111b;stroke-width:1pt;stroke-opacity:1;fill:#11111b;fill-opacity:1"
transform="scale(0.8) rotate(180) translate(12.5,0)" />
</marker>
<marker
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lstart"
style="overflow:visible">
<path
id="path1054"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#11111b;stroke-width:1pt;stroke-opacity:1;fill:#11111b;fill-opacity:1"
transform="scale(0.8) translate(12.5,0)" />
</marker>
<linearGradient
id="linearGradient5062-3">
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop5058" />
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="1"
id="stop5060" />
</linearGradient>
<linearGradient
id="linearGradient3836-0">
<stop
id="stop5008"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop5010"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient7597">
<stop
id="stop7599"
style="stop-color:#000003;stop-opacity:1"
offset="0" />
<stop
id="stop7601"
style="stop-color:#000003;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient3893">
<stop
id="stop3895"
style="stop-color:#cdd6f4;stop-opacity:1"
offset="0" />
<stop
id="stop3897"
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1" />
</linearGradient>
<linearGradient
x1="15.71482"
y1="22.299377"
x2="34.136208"
y2="22.299377"
id="linearGradient7603"
xlink:href="#linearGradient7597"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3836-0-3">
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop3838-2" />
<stop
style="stop-color:#f9e2af;stop-opacity:1;"
offset="1"
id="stop3840-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient5062-3"
id="linearGradient5088"
x1="43.818283"
y1="11.684036"
x2="59.806271"
y2="11.684036"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient1043-3"
id="linearGradient1278"
x1="52"
y1="44"
x2="8"
y2="20"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0.99999965,-0.9999994)" />
<filter
style="color-interpolation-filters:sRGB"
id="filter1334"
x="-0.028296296"
width="1.0565926"
y="-0.044941176"
height="1.0898824">
<feGaussianBlur
stdDeviation="0.22"
id="feGaussianBlur1336" />
</filter>
<linearGradient
xlink:href="#linearGradient4"
id="linearGradient5"
x1="5"
y1="32"
x2="59.000004"
y2="32"
gradientUnits="userSpaceOnUse" />
</defs>
<metadata
id="metadata3090">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<rect
style="fill:#6c7086;stroke:#313244;stroke-width:2;stroke-opacity:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:0;paint-order:normal"
id="rect1"
width="52.000004"
height="38"
x="6"
y="13" />
<path
style="fill:url(#linearGradient5);stroke:#6c7086;stroke-width:2;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:0;stroke-opacity:1;paint-order:normal"
id="rect2"
width="52.000004"
height="38"
x="6"
y="13"
d="M 8,15 H 56 V 49 H 8 Z" />
<g
id="g6-8"
transform="translate(0.528267,2.2307492)"
style="display:inline">
<path
id="path5-6"
d="m 31.471733,2.7692508 v 6.75 m 0,4.5000002 v 13.5 m 0,4.5 v 13.5 m 0,4.5 v 6.75"
style="display:inline;fill:none;fill-rule:evenodd;stroke:#052459;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:5.4;stroke-opacity:1" />
<path
id="path1-4"
d="m 31.471733,2.7692508 v 6.75 m 0,4.5000002 v 13.5 m 0,4.5 v 13.5 m 0,4.5 v 6.75"
style="display:inline;fill:none;fill-rule:evenodd;stroke:#307bf7;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:5.4;stroke-opacity:1" />
<path
id="path7"
d="m 30.471733,2.7692508 v 6.75 m 0,4.5000002 v 13.5 m 0,4.5 v 13.5 m 0,4.5 v 6.75"
style="display:inline;fill:none;fill-rule:evenodd;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:5.4;stroke-opacity:1" />
</g>
</g>
</svg>