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

307 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="svg3612"
height="64px"
width="64px">
<defs
id="defs3614">
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient3600"
xlink:href="#linearGradient3144-3" />
<linearGradient
id="linearGradient3144-3">
<stop
style="stop-color:#cdd6f4;stop-opacity:1;"
offset="0"
id="stop3146-0" />
<stop
style="stop-color:#cdd6f4;stop-opacity:0;"
offset="1"
id="stop3148-1" />
</linearGradient>
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient3598"
xlink:href="#linearGradient3144-3" />
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient3684"
xlink:href="#linearGradient3144-6" />
<linearGradient
id="linearGradient3144-6">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3146-9" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3148-2" />
</linearGradient>
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient3686"
xlink:href="#linearGradient3144-6" />
<linearGradient
id="linearGradient3701">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3703" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3705" />
</linearGradient>
<radialGradient
r="34.345188"
fy="672.79736"
fx="225.26402"
cy="672.79736"
cx="225.26402"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
gradientUnits="userSpaceOnUse"
id="radialGradient3688"
xlink:href="#linearGradient3144-6" />
<linearGradient
id="linearGradient3708">
<stop
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1"
id="stop3710" />
<stop
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0"
id="stop3712" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3144-6"
id="radialGradient3723"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,0.6985294,0,202.82863)"
cx="225.26402"
cy="672.79736"
fx="225.26402"
fy="672.79736"
r="34.345188" />
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3801-1"
xlink:href="#linearGradient3836-0" />
<linearGradient
id="linearGradient3836-0">
<stop
id="stop3838-2"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3801-1-4"
xlink:href="#linearGradient3836-0-0" />
<linearGradient
id="linearGradient3836-0-0">
<stop
id="stop3838-2-9"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5-4"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
y2="5"
x2="-22"
y1="18"
x1="-18"
gradientUnits="userSpaceOnUse"
id="linearGradient3801-1-5"
xlink:href="#linearGradient3836-0-5" />
<linearGradient
id="linearGradient3836-0-5">
<stop
id="stop3838-2-1"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5-7"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
</defs>
<g
id="layer1">
<g
transform="matrix(0.89711225,0.52065392,-0.5123597,0.91163494,32.103176,-164.6499)"
id="Draft_bspline">
<path
d="m 259.60921,672.79736 a 34.34519,23.991124 0 1 1 -68.69038,0 34.34519,23.991124 0 1 1 68.69038,0 z"
transform="matrix(-0.12861646,0.07494312,-0.07494312,-0.12861646,157.77202,248.64722)"
id="path2184-8"
style="fill:url(#radialGradient3684);fill-opacity:1;stroke:none" />
<path
d="m 259.60921,672.79736 a 34.34519,23.991124 0 1 1 -68.69038,0 34.34519,23.991124 0 1 1 68.69038,0 z"
transform="matrix(-0.1297658,0.07293493,-0.07293493,-0.1297658,161.18859,218.30699)"
id="path2190-1"
style="fill:url(#radialGradient3686);fill-opacity:1;stroke:none" />
<path
d="m 259.60921,672.79736 a 34.34519,23.991124 0 1 1 -68.69038,0 34.34519,23.991124 0 1 1 68.69038,0 z"
transform="matrix(-0.13513931,0.06241822,-0.06241822,-0.13513931,185.57335,240.07726)"
id="path2200-1"
style="fill:url(#radialGradient3723);fill-opacity:1;stroke:none" />
<path
transform="matrix(0.84052566,-0.48004191,0.47239466,0.82713577,50.79619,151.59869)"
id="path3035"
d="M 11,42 C 10.999999,11.000002 49.999999,1.797244e-6 50,46"
style="fill:none;stroke:#1e1e2e;stroke-width:8.00000002;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3035-1"
d="M 79.882548,181.05793 C 65.238314,155.41673 92.822468,127.5966 114.55263,165.64484"
style="fill:none;stroke:#6c7086;stroke-width:3.84082924000000010;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3035-1-7"
d="M 79.042022,181.53798 C 63.925393,155.06963 92.71821,125.46228 115.39315,165.1648"
style="fill:none;stroke:#cdd6f4;stroke-width:1.92041457;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<g
id="g3827-1-8"
transform="matrix(0.84052566,-0.48004191,0.47239466,0.82713577,49.655706,110.56669)">
<g
id="g3797-9-8"
transform="translate(31.322131,40.570289)">
<path
d="M -26.156204,5.582626 A 8.993818,8.9934077 0.02042283 1 1 -12.493793,17.282241 8.993818,8.9934077 0.02042283 1 1 -26.156204,5.582626 z"
id="path4250-71-2"
style="fill:none;stroke:#2e2900;stroke-width:1.99999988;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="M -24.633588,6.893588 A 6.9999997,7.0000001 0 1 1 -14,16 6.9999997,7.0000001 0 0 1 -24.633588,6.893588 z"
id="path4250-7-3-4"
style="fill:url(#linearGradient3801-1-4);fill-opacity:1;stroke:#f9e2af;stroke-width:1.99999952;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
<g
id="g3827-1-1"
transform="matrix(0.84052566,-0.48004191,0.47239466,0.82713577,80.846586,130.04856)">
<g
id="g3797-9-1"
transform="translate(31.322131,40.570289)">
<path
d="M -26.156204,5.582626 A 8.993818,8.9934077 0.02042283 1 1 -12.493793,17.282241 8.993818,8.9934077 0.02042283 1 1 -26.156204,5.582626 z"
id="path4250-71-5"
style="fill:none;stroke:#2e2900;stroke-width:1.99999988;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="M -24.633588,6.893588 A 6.9999997,7.0000001 0 1 1 -14,16 6.9999997,7.0000001 0 0 1 -24.633588,6.893588 z"
id="path4250-7-3-2"
style="fill:url(#linearGradient3801-1-5);fill-opacity:1;stroke:#f9e2af;stroke-width:1.99999952;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
</g>
<g
id="g3827-1"
transform="translate(-2.6307677e-7,-10.005445)">
<g
id="g3797-9"
transform="translate(31.322131,40.570289)">
<path
d="M -26.156204,5.582626 A 8.993818,8.9934077 0.02042283 1 1 -12.493793,17.282241 8.993818,8.9934077 0.02042283 1 1 -26.156204,5.582626 z"
id="path4250-71"
style="fill:none;stroke:#2e2900;stroke-width:1.99999988;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="M -24.633588,6.893588 A 6.9999997,7.0000001 0 1 1 -14,16 6.9999997,7.0000001 0 0 1 -24.633588,6.893588 z"
id="path4250-7-3"
style="fill:url(#linearGradient3801-1);fill-opacity:1;stroke:#f9e2af;stroke-width:1.99999952;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
</g>
</g>
</g>
<metadata
id="metadata3756">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
<cc:license
rdf:resource="" />
<dc:date>Mon Oct 10 13:44:52 2011 +0000</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[wmayer]</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier>FreeCAD/src/Mod/Draft/Resources/icons/Draft_BSpline.svg</dc:identifier>
<dc:relation>https://www.freecad.org/wiki/index.php?title=Artwork</dc:relation>
<dc:contributor>
<cc:Agent>
<dc:title>[agryson] Alexander Gryson</dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>dot</rdf:li>
<rdf:li>point</rdf:li>
<rdf:li>curve</rdf:li>
<rdf:li>line</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A curved line in the shape of an upside-down U passing through three points</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>