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

228 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
version="1.1"
width="64"
height="64"
id="svg4024"
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="defs4026">
<linearGradient
xlink:href="#linearGradient3775-6"
id="linearGradient3781-3"
x1="10"
y1="39.999996"
x2="53"
y2="25.999996"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.5333334,0,0,1.5263159,-93.336853,-1.5824517)" />
<linearGradient
id="linearGradient3775-6">
<stop
style="stop-color:#6c7086;stop-opacity:1;"
offset="0"
id="stop3777-7" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop3779-5" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3775-6"
id="linearGradient9"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.5333538,0,0,1.5262995,-68.796669,-32.100761)"
x1="10"
y1="39.999996"
x2="53"
y2="25.999996" />
<linearGradient
xlink:href="#linearGradient3775-6"
id="linearGradient10"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.5262995,0,0,1.5333538,-32.100761,-27.804635)"
x1="12"
y1="27.000002"
x2="30"
y2="27.000002" />
<linearGradient
id="linearGradient4">
<stop
style="stop-color:#0846b3;stop-opacity:1;"
offset="0"
id="stop3" />
<stop
style="stop-color:#307bf7;stop-opacity:1;"
offset="1"
id="stop4" />
</linearGradient>
</defs>
<metadata
id="metadata4029">
<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="g1"
transform="translate(0,0.99999998)">
<g
id="layer2"
transform="matrix(0.65517237,0,0,0.65217387,1.0367787,2.1281438)"
style="stroke-width:1.52982">
<rect
style="fill:#6c7086;fill-opacity:1;stroke:#1e1e2e;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2987"
width="45.999996"
height="58.000004"
x="-54.999996"
y="3"
transform="rotate(-90)" />
<rect
style="display:inline;fill:url(#linearGradient3781-3);fill-opacity:1;stroke:#cdd6f4;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2987-1"
width="41.999996"
height="54.000004"
x="-52.999996"
y="5"
transform="rotate(-90)" />
<rect
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#313244;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="rect3894"
width="50"
height="38"
x="7"
y="13" />
<rect
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#313244;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="rect4664"
width="23.999994"
height="12.000004"
x="33"
y="39" />
<path
style="fill:none;stroke:#313244;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 37,43 h 15.398794 v 0"
id="path4666" />
<path
style="display:inline;fill:none;stroke:#313244;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 37,47 h 15.642526 v 0"
id="path4666-7" />
<g
id="layer1"
transform="matrix(0,-0.42543722,0.42543722,0,5.2149434,62.276312)"
style="display:inline;stroke-width:1.52982" />
<g
id="g2"
transform="matrix(1.2222222,0,0,1.5714285,1.8614946,-26.244705)"
style="display:inline;stroke-width:1.52982">
<path
style="fill:#94e2d5;stroke:#103b35;stroke-width:3.05964;stroke-linecap:square"
d="M 31,37 V 27 H 21 V 17 H 11 v 20 z"
id="path1"
transform="matrix(0.81818183,0,0,0.63636367,-1.5230411,16.701177)" />
</g>
</g>
<g
id="g8"
transform="matrix(0.65517941,0,0,0.65216518,21.031758,17.133215)"
style="stroke-width:1.52982">
<g
id="g3"
transform="translate(0,1.5333442)">
<rect
style="fill:#6c7086;fill-opacity:1;stroke:#1e1e2e;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1"
width="45.999996"
height="58.000004"
x="-54.999996"
y="3"
transform="rotate(-90)" />
<rect
style="display:inline;fill:url(#linearGradient9);fill-opacity:1;stroke:#cdd6f4;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect2"
width="41.999996"
height="54.000004"
x="-52.999996"
y="5"
transform="rotate(-90)" />
<rect
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#313244;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="rect3"
width="50"
height="38"
x="7"
y="13" />
<rect
style="color:#11111b;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#313244;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="rect4"
width="23.999994"
height="12.000004"
x="33"
y="39" />
<path
style="fill:none;stroke:#313244;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 37,43 h 15.398794 v 0"
id="path4" />
<path
style="display:inline;fill:none;stroke:#313244;stroke-width:3.05964;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 37,47 h 15.642526 v 0"
id="path5" />
</g>
<g
id="g7"
transform="matrix(1.2222222,0,0,1.5714285,1.8614946,-26.244705)"
style="display:inline;stroke-width:1.52982">
<path
style="fill:#94e2d5;stroke:#103b35;stroke-width:3.05964;stroke-linecap:square"
d="M 31,37 V 27 H 21 V 17 H 11 v 20 z"
id="path6"
transform="matrix(0.81818183,0,0,0.63636367,-1.5230411,16.701177)" />
<path
style="display:none;fill:url(#linearGradient10);stroke:#89b4fa;stroke-width:3.05964;stroke-linecap:square"
d="m 14.060547,20.060547 h 3.878906 v 10 h 10 v 3.878906 H 14.060547 Z"
id="path7"
transform="matrix(0.81818183,0,0,0.63636367,-1.5230411,16.701177)" />
</g>
<g
id="g11"
transform="matrix(0.56391461,0,0,0.55224333,23.320898,-4.2634133)"
style="stroke-width:2.74138">
<path
d="m 53.357192,12.740228 c 0,-7.9118962 -0.325125,-12.52401024 -5.601815,-18.2371425 -5.276694,-5.7131325 -18.720421,-3.494031 -18.720421,-3.494031"
id="path2-5"
style="display:inline;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#103b35;stroke-width:16.4483;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:20.8819;stroke-opacity:1" />
<path
d="m 53.346625,12.740228 c 0,-7.9118962 -0.314558,-12.52401024 -5.591248,-18.2371425 -5.276694,-5.7131325 -18.720421,-3.494031 -18.720421,-3.494031"
id="path3"
style="display:inline;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#94e2d5;stroke-width:5.48274;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:20.8819;stroke-opacity:1" />
</g>
<g
id="g12"
transform="matrix(-0.56389605,0,0,-0.55223177,10.256364,46.788915)"
style="stroke-width:2.74145">
<path
d="m 53.357192,12.740228 c 0,-7.9118962 -0.325125,-12.52401024 -5.601815,-18.2371425 -5.276694,-5.7131325 -18.720421,-3.494031 -18.720421,-3.494031"
id="path11"
style="display:inline;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#103b35;stroke-width:16.4487;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:20.8819;stroke-opacity:1" />
<path
d="m 53.346625,12.740228 c 0,-7.9118962 -0.314558,-12.52401024 -5.591248,-18.2371425 -5.276694,-5.7131325 -18.720421,-3.494031 -18.720421,-3.494031"
id="path12"
style="display:inline;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#94e2d5;stroke-width:5.48289;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:20.8819;stroke-opacity:1" />
</g>
</g>
</g>
</svg>