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

240 lines
7.9 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg2860"
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="defs2862">
<linearGradient
id="linearGradient3906">
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="0"
id="stop3908" />
<stop
style="stop-color:#585b70;stop-opacity:1"
offset="1"
id="stop3910" />
</linearGradient>
<linearGradient
id="linearGradient3866">
<stop
id="stop3868"
offset="0"
style="stop-color:#1e1e2e;stop-opacity:1" />
<stop
id="stop3870"
offset="1"
style="stop-color:#313244;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3790">
<stop
style="stop-color:#54d1bc;stop-opacity:1"
offset="0"
id="stop3792" />
<stop
style="stop-color:#94e2d5;stop-opacity:1"
offset="1"
id="stop3794" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#f9d791;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#f8ca69;stop-opacity:1;" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3790"
id="linearGradient3796"
x1="24.120333"
y1="49.95517"
x2="19.481165"
y2="24.769613"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.076363,0,0,1.2275783,-1.7493206,-6.8228995)" />
<linearGradient
xlink:href="#linearGradient3790-4"
id="linearGradient3796-7"
x1="26.192562"
y1="51.38979"
x2="17.090132"
y2="23.8132"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3790-4">
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="0"
id="stop3792-0" />
<stop
style="stop-color:#6c7086;stop-opacity:0;"
offset="1"
id="stop3794-9" />
</linearGradient>
<linearGradient
gradientTransform="translate(-20.645082,6.5529265)"
y2="23.8132"
x2="17.090132"
y1="51.38979"
x1="26.192562"
gradientUnits="userSpaceOnUse"
id="linearGradient3813"
xlink:href="#linearGradient3790-4" />
<linearGradient
xlink:href="#linearGradient3790-8"
id="linearGradient3796-8"
x1="26.192562"
y1="51.38979"
x2="17.090132"
y2="23.8132"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3790-8">
<stop
style="stop-color:#45475a;stop-opacity:1"
offset="0"
id="stop3792-2" />
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="1"
id="stop3794-4" />
</linearGradient>
<linearGradient
gradientTransform="translate(-5.6659018,2.2344049)"
y2="26.840467"
x2="49.715973"
y1="47.700882"
x1="56.317974"
gradientUnits="userSpaceOnUse"
id="linearGradient3847"
xlink:href="#linearGradient3866" />
<linearGradient
gradientTransform="translate(-4.6251568,0.57534247)"
y2="28.43449"
x2="46.846733"
y1="49.135502"
x1="57.752594"
gradientUnits="userSpaceOnUse"
id="linearGradient3847-5"
xlink:href="#linearGradient3866-1" />
<linearGradient
id="linearGradient3866-1">
<stop
id="stop3868-7"
offset="0"
style="stop-color:#1e1e2e;stop-opacity:1" />
<stop
id="stop3870-1"
offset="1"
style="stop-color:#45475a;stop-opacity:1" />
</linearGradient>
<linearGradient
y2="25.259148"
x2="116.01608"
y1="40.728607"
x1="118.49765"
gradientTransform="translate(-87.611454,-12.936721)"
gradientUnits="userSpaceOnUse"
id="linearGradient3887"
xlink:href="#linearGradient3906" />
</defs>
<metadata
id="metadata2865">
<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_Proj</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer2"
style="display:inline">
<path
style="display:inline;opacity:1;fill:none;stroke:#1e1e2e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:1"
d="M 25,35 V 11 l 34,9 v 24 z"
id="path1" />
<path
style="display:inline;opacity:1;fill:none;stroke:#1e1e2e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:1"
d="m 5,20 20,-9 34,9 -20,9 z"
id="path2" />
<path
style="display:inline;opacity:1;fill:none;stroke:#1e1e2e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:1"
d="m 5,44 20,-9 34,9 -20,9 z"
id="path3" />
<path
style="display:inline;opacity:1;fill:none;stroke:#585b70;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:1"
d="M 25,35 V 11 l 34,9 v 24 z"
id="path6" />
<path
style="display:inline;opacity:1;fill:none;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:1"
d="m 5,44 20,-9 34,9 -20,9 z"
id="path8" />
<path
style="display:inline;opacity:1;fill:none;stroke:#1e1e2e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:1"
d="M 59.000004,44 V 20 L 39,29 v 24 z"
id="path4" />
<path
style="display:inline;opacity:1;fill:none;stroke:#1e1e2e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:1"
d="m 5,43.999903 v -24 l 34,9 V 53 Z"
id="path5" />
<path
style="display:inline;opacity:1;fill:#94e2d5;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:1"
d="m 5,43.999903 v -24 l 34,9 V 53 Z"
id="path11" />
<path
style="display:inline;opacity:1;fill:none;stroke:#6c7086;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:1"
d="m 5,43.999903 v -24 l 34,9 V 53 Z"
id="path10" />
<path
style="display:inline;opacity:1;fill:none;stroke:#585b70;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:1"
d="M 59.000004,44 V 20 L 39,29 v 24 z"
id="path9" />
<path
style="display:inline;opacity:1;fill:none;stroke:#cdd6f4;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-dashoffset:1"
d="m 5,20 20,-9 34,9 -20,9 z"
id="path7" />
</g>
</svg>