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

437 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64"
height="64"
id="svg2869"
version="1.1"
viewBox="0 0 64 64"
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="defs2871">
<linearGradient
id="linearGradient17">
<stop
style="stop-color:#cdd6f4;stop-opacity:1;"
offset="0"
id="stop16" />
<stop
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1"
id="stop17" />
</linearGradient>
<linearGradient
id="linearGradient5">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop19" />
<stop
style="stop-color:#f2cdcd;stop-opacity:0;"
offset="1"
id="stop20" />
</linearGradient>
<linearGradient
id="swatch18">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop18" />
</linearGradient>
<linearGradient
id="swatch15">
<stop
style="stop-color:#581616;stop-opacity:1;"
offset="0"
id="stop15" />
</linearGradient>
<linearGradient
id="linearGradient5-1">
<stop
style="stop-color:#f2cdcd;stop-opacity:1;"
offset="0"
id="stop5" />
<stop
style="stop-color:#f2cdcd;stop-opacity:0;"
offset="1"
id="stop6" />
</linearGradient>
<linearGradient
id="linearGradient3836-9">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1" />
</linearGradient>
<linearGradient
id="linearGradient3836-9-3">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8-5" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1-6" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3082"
xlink:href="#linearGradient3836-9-3" />
<linearGradient
id="linearGradient3836-9-7">
<stop
style="stop-color:#912424;stop-opacity:1"
offset="0"
id="stop3838-8-0" />
<stop
style="stop-color:#f2cdcd;stop-opacity:1"
offset="1"
id="stop3840-1-9" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3082-3"
xlink:href="#linearGradient3836-9-7" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient3801-1-3"
gradientUnits="userSpaceOnUse"
x1="-18"
y1="18"
x2="-22"
y2="5"
gradientTransform="matrix(0.76342439,0,0,0.75750425,-4.596389,2.7525637)" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient3801-1-3-2"
gradientUnits="userSpaceOnUse"
x1="-18"
y1="18"
x2="-22"
y2="5"
gradientTransform="matrix(0.84956703,0,0,0.84301394,-2.927337,1.7790378)" />
<radialGradient
xlink:href="#linearGradient3809"
id="radialGradient3815"
cx="225.93762"
cy="91.956673"
fx="225.93762"
fy="91.956673"
r="22"
gradientTransform="matrix(-1.4090915,3.8636359,-0.97565325,-0.35582669,437.08461,-816.22007)"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3809">
<stop
style="stop-color:#89b4fa;stop-opacity:1"
offset="0"
id="stop3811" />
<stop
style="stop-color:#0846b3;stop-opacity:1"
offset="1"
id="stop3813" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3444"
xlink:href="#linearGradient3836-9-3"
gradientTransform="matrix(0.90206746,0,0,0.90216902,-1.9060863,1.1084289)" />
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3857"
xlink:href="#linearGradient3836-9-3"
gradientTransform="matrix(0.89262616,0,0,0.89258466,72.894067,1.2176306)" />
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientTransform="matrix(0.93724177,0,0,0.93725692,-1.2227671,0.70650014)"
gradientUnits="userSpaceOnUse"
id="linearGradient3148"
xlink:href="#linearGradient3836-9-3" />
<linearGradient
xlink:href="#linearGradient17"
id="linearGradient3898"
x1="37.429146"
y1="41.590584"
x2="24.483221"
y2="4.9104676"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient3892">
<stop
style="stop-color:#bdd2e9;stop-opacity:1;"
offset="0"
id="stop3894" />
<stop
style="stop-color:#cdd6f4;stop-opacity:0"
offset="1"
id="stop3896" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3892"
id="linearGradient3856"
x1="22.84341"
y1="4.8241611"
x2="30.783579"
y2="28.644661"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient18"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82607043,0,0,0.82533448,-4.0098079,1.346708)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
<radialGradient
r="22"
fy="91.956673"
fx="225.93762"
cy="91.956673"
cx="225.93762"
gradientTransform="matrix(-1.7064667,4.6731721,-1.1815555,-0.43038201,776.9032,-933.08315)"
gradientUnits="userSpaceOnUse"
id="radialGradient3163"
xlink:href="#linearGradient3809" />
<linearGradient
xlink:href="#linearGradient4104"
id="linearGradient4110"
x1="-23.070524"
y1="18.383886"
x2="-24.194258"
y2="6.534451"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient4104">
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="0"
id="stop4106" />
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="1"
id="stop4108" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient4096"
id="linearGradient4102"
x1="-24.035076"
y1="16.85112"
x2="-23.821426"
y2="7.2881389"
gradientUnits="userSpaceOnUse" />
<linearGradient
id="linearGradient4096">
<stop
style="stop-color:#cdd6f4;stop-opacity:1"
offset="0"
id="stop4098" />
<stop
style="stop-color:#6c7086;stop-opacity:1"
offset="1"
id="stop4100" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient4216"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.71430595,0,0,0.71426219,259.5032,71.709694)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient23"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82607043,0,0,0.82533448,-4.0098079,1.346708)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
<radialGradient
r="22"
fy="91.956673"
fx="225.93762"
cy="91.956673"
cx="225.93762"
gradientTransform="matrix(-1.7064667,4.6731721,-1.1815555,-0.43038201,776.9032,-933.08315)"
gradientUnits="userSpaceOnUse"
id="radialGradient3163-9"
xlink:href="#linearGradient3809" />
<linearGradient
xlink:href="#linearGradient4104"
id="linearGradient4347"
x1="-21.31983"
y1="18.008659"
x2="-24.907471"
y2="6.9377007"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient4096"
id="linearGradient4339"
x1="-21.141161"
y1="17.489555"
x2="-24.733845"
y2="7.0083036"
gradientUnits="userSpaceOnUse" />
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientTransform="matrix(0.65313239,0,0,0.65304994,258.31758,72.40809)"
gradientUnits="userSpaceOnUse"
id="linearGradient4235-2"
xlink:href="#linearGradient3836-9-3" />
<linearGradient
xlink:href="#linearGradient3836-9-3"
id="linearGradient26"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.82607043,0,0,0.82533448,-4.0098079,1.346708)"
x1="-18"
y1="18"
x2="-22"
y2="5" />
</defs>
<metadata
id="metadata2874">
<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>[maxwxyz]</dc:title>
</cc:Agent>
</dc:creator>
<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/Sketcher/Gui/Resources/icons/Sketcher_CreateArc.svg</dc:identifier>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:date>2023-12-19</dc:date>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer3"
style="display:inline"
transform="translate(0.25)">
<g
id="layer1-6"
transform="translate(1.75)">
<g
id="g3629-1"
transform="translate(-256.70919,-66.886588)">
<path
style="fill:url(#radialGradient3163-9);fill-opacity:1;stroke:#052459;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
d="M 274.21896,89.233383 260.89752,120.6811 c 0,9.67621 50.8637,9.67621 50.8637,0 L 296.01769,79.557159 Z"
id="path3039-7" />
<path
style="fill:none;stroke:#89b4fa;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 275.73519,91.047666 -12.716,29.933924 c 3.63312,7.25716 43.08687,7.15716 46.72,-0.1 l -14.775,-38.179661 z"
id="path3817-3" />
<path
style="fill:#89b4fa;fill-opacity:1;stroke:#052459;stroke-width:1.22906;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1"
id="path3218-54"
d="m -12,12.5 a 11.5,5.5 0 1 1 -23,0 11.5,5.5 0 1 1 23,0 z"
transform="matrix(1.1772298,-1.0248017,0.64597109,1.6869918,303.29945,47.71635)" />
<path
style="fill:none;stroke:#151819;stroke-width:4.59873;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1"
id="path3218-9"
d="m -12,12.5 c 0,3.037568 -3.728044,4.935542 -9.821917,5.51214 -3.615458,0.342092 -10.937031,-0.904062 -12.769295,-3.909238 C -37.303342,9.6546189 -29.886187,6.9091481 -23.5,7.0000024 -17.640431,7.0833646 -12,9.4624318 -12,12.5 Z"
transform="matrix(1.261318,-1.0931218,0.69211206,1.7994579,304.69876,44.705001)" />
<path
style="fill:none;stroke:url(#linearGradient4347);stroke-width:1.07994;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1"
id="path3218-9-4"
d="m -12,12.5 c 0,3.037568 -4.470195,5.617981 -10.821469,5.617981 -6.351274,0 -11.801134,-2.088467 -12.165765,-5.217951 -0.45466,-3.9021738 5.13596,-5.9000276 11.487234,-5.9000276 6.351274,0 11.5,2.4624294 11.5,5.4999976 z"
transform="matrix(1.3454059,-1.1614419,0.73825291,1.9119242,306.09807,41.69365)" />
<path
style="fill:none;stroke:url(#linearGradient4339);stroke-width:1.22906;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4.5;stroke-dasharray:none;stroke-opacity:1"
id="path3218-9-4-7"
d="m -11.567744,12.5 c 0,2.886301 -3.860863,4.935333 -10.625945,5.167544 -6.466207,0.221951 -13.158086,-2.130401 -13.299554,-5.0564 C -35.832957,5.5848319 -11.567744,5.5318614 -11.567744,12.5 Z"
transform="matrix(1.1772299,-1.0248017,0.64597111,1.6869919,303.29945,47.71635)" />
</g>
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,59.064802,2.2079357)"
id="g23"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#4f1414;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path22"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient23);fill-opacity:1;stroke:#f2cdcd;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path23"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,35.116669,9.1392848)"
id="g26"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#4f1414;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path25"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient26);fill-opacity:1;stroke:#f2cdcd;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path26"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
<g
transform="matrix(0.77869459,0,0,0.77869445,43.741669,17.764285)"
id="g18"
style="stroke-width:1.2842">
<path
style="fill:none;stroke:#4f1414;stroke-width:2.56841;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path17"
d="M -26.310778,5.3580033 A 8.3519646,8.3515832 0.02039876 1 1 -13.623399,16.222662 8.3519646,8.3515832 0.02039876 1 1 -26.310778,5.3580033 Z" />
<path
style="fill:url(#linearGradient18);fill-opacity:1;stroke:#f2cdcd;stroke-width:2.56842;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path18"
d="m -24.358888,7.0362241 a 5.782493,5.7773415 0 1 1 8.784093,7.5158349 5.782493,5.7773415 0 0 1 -8.784093,-7.5158349 z" />
</g>
</g>
</svg>