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

327 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg2816"
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="defs2818">
<linearGradient
id="linearGradient3918">
<stop
style="stop-color:#f8c459;stop-opacity:1;"
offset="0"
id="stop3920" />
<stop
style="stop-color:#f9e2af;stop-opacity:1"
offset="1"
id="stop3922" />
</linearGradient>
<linearGradient
id="linearGradient3910">
<stop
style="stop-color:#bc8009;stop-opacity:1;"
offset="0"
id="stop3912" />
<stop
style="stop-color:#f8c459;stop-opacity:1"
offset="1"
id="stop3914" />
</linearGradient>
<linearGradient
id="linearGradient3669">
<stop
style="stop-color:#cc8000;stop-opacity:1;"
offset="0"
id="stop3671" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3673" />
</linearGradient>
<linearGradient
id="linearGradient3602">
<stop
style="stop-color:#e9aaaa;stop-opacity:1;"
offset="0"
id="stop3604" />
<stop
style="stop-color:#f7863f;stop-opacity:1;"
offset="1"
id="stop3606" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3602-7"
id="linearGradient3608-5"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-7">
<stop
style="stop-color:#cb5858;stop-opacity:1;"
offset="0"
id="stop3604-1" />
<stop
style="stop-color:#f7863f;stop-opacity:1;"
offset="1"
id="stop3606-3" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3602-5"
id="linearGradient3608-1"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-5">
<stop
style="stop-color:#cb5858;stop-opacity:1;"
offset="0"
id="stop3604-9" />
<stop
style="stop-color:#f7863f;stop-opacity:1;"
offset="1"
id="stop3606-9" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient3686"
xlink:href="#linearGradient3602-5" />
<linearGradient
xlink:href="#linearGradient3602-58"
id="linearGradient3608-8"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3602-58">
<stop
style="stop-color:#cb5858;stop-opacity:1;"
offset="0"
id="stop3604-2" />
<stop
style="stop-color:#f7863f;stop-opacity:1;"
offset="1"
id="stop3606-2" />
</linearGradient>
<linearGradient
y2="14.363636"
x2="24.81818"
y1="14.363636"
x1="3.909091"
gradientUnits="userSpaceOnUse"
id="linearGradient3726"
xlink:href="#linearGradient3602-58" />
<linearGradient
id="linearGradient3602-1">
<stop
style="stop-color:#e9aaaa;stop-opacity:1;"
offset="0"
id="stop3604-8" />
<stop
style="stop-color:#f7863f;stop-opacity:1;"
offset="1"
id="stop3606-96" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3602-1"
id="linearGradient2875"
gradientUnits="userSpaceOnUse"
x1="3.909091"
y1="14.363636"
x2="24.81818"
y2="14.363636" />
<linearGradient
id="linearGradient3602-1-5">
<stop
style="stop-color:#e9aaaa;stop-opacity:1;"
offset="0"
id="stop3604-8-3" />
<stop
style="stop-color:#f7863f;stop-opacity:1;"
offset="1"
id="stop3606-96-8" />
</linearGradient>
<linearGradient
id="linearGradient3602-1-8">
<stop
style="stop-color:#e9aaaa;stop-opacity:1;"
offset="0"
id="stop3604-8-5" />
<stop
style="stop-color:#f7863f;stop-opacity:1;"
offset="1"
id="stop3606-96-2" />
</linearGradient>
<linearGradient
id="linearGradient3669-2">
<stop
style="stop-color:#b07809;stop-opacity:1;"
offset="0"
id="stop3671-7" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3673-5" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.73872768,0,0,1.3536788,-2.25,-1.9999999)"
y2="1.8468192"
x2="48.259949"
y1="33.61211"
x1="34.290413"
gradientUnits="userSpaceOnUse"
id="linearGradient3698"
xlink:href="#linearGradient3669-2" />
<linearGradient
id="linearGradient3669-22">
<stop
style="stop-color:#b07809;stop-opacity:1;"
offset="0"
id="stop3671-8" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3673-4" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.73872768,0,0,1.3536788,-2.25,-1.9999999)"
y2="1.8468192"
x2="48.259949"
y1="33.61211"
x1="34.290413"
gradientUnits="userSpaceOnUse"
id="linearGradient3698-3"
xlink:href="#linearGradient3669-22" />
<linearGradient
id="linearGradient3669-0">
<stop
style="stop-color:#b07809;stop-opacity:1;"
offset="0"
id="stop3671-9" />
<stop
style="stop-color:#f8ca69;stop-opacity:1;"
offset="1"
id="stop3673-1" />
</linearGradient>
<linearGradient
gradientTransform="matrix(0.73872768,0,0,1.3536788,-2.25,-1.9999999)"
y2="1.8468192"
x2="48.259949"
y1="33.61211"
x1="34.290413"
gradientUnits="userSpaceOnUse"
id="linearGradient3698-9"
xlink:href="#linearGradient3669-0" />
<linearGradient
xlink:href="#linearGradient3910"
id="linearGradient3916"
x1="63.622902"
y1="24.378014"
x2="60.915546"
y2="17.729464"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,-1.4774554)" />
<linearGradient
xlink:href="#linearGradient3918"
id="linearGradient3924"
x1="24.366219"
y1="24.378014"
x2="24.366219"
y2="18.468191"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,-1.4774554)" />
</defs>
<metadata
id="metadata2821">
<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>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>PartDesign_Pad</dc:title>
<dc:date>2011-10-10</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/PartDesign/Gui/Resources/icons/PartDesign_Pad.svg</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="layer1">
<g
transform="scale(0.73872768,1.3536788)"
style="font-size:54.21519089000000236px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#e9aaaa;fill-opacity:1;stroke:#731200;font-family:Arial;-inkscape-font-specification:Arial;color:#11111b;fill-rule:nonzero;stroke-width:2.19132471;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="text3796">
<path
style="color:#11111b;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:54.2152px;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#4c1313;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="M 43.317715,27.33292 79.86704,33.24274 44.671393,42.10747 6.7683937,36.19765 Z"
id="rect3200-5-3" />
<path
style="color:#11111b;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:54.2152px;font-family:Arial;-inkscape-font-specification:Arial;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
d="M 43.317714,27.33292 79.867039,33.24274 44.671393,42.10747 6.7683937,36.19765 Z"
id="rect3200-5-3-6" />
<path
style="color:#11111b;fill:url(#linearGradient3924);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 6.7683938,12.55837 37.9030002,5.90982 0,13.297098 -37.9030002,-5.909821 z"
id="rect3200" />
<path
style="color:#11111b;fill:url(#linearGradient3916);fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 44.671394,18.46819 35.195646,-8.8647304 0,11.8196414 -35.195646,10.342187 z"
id="rect3200-8" />
<path
style="color:#11111b;fill:#f9e2af;fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="M 43.317714,3.6936385 79.86704,9.6034596 44.671394,18.46819 6.7683938,12.55837 z"
id="rect3200-5" />
<path
style="fill:none;stroke:#f9e2af;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 9.4757504,14.509073 0,10.255617 32.4777136,5.044125 0.0317,-10.220991 z"
id="path3805" />
<path
style="fill:none;stroke:#f8c459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 47.378754,19.397371 0,9.892025 29.780926,-8.749306 0.0106,-8.633877 z"
id="path3807" />
</g>
</g>
</svg>