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

218 lines
8.3 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="svg2918"
height="64px"
width="64px">
<defs
id="defs2920">
<linearGradient
id="linearGradient3892">
<stop
id="stop3894"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3896"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient3850">
<stop
id="stop3852"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3854"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<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-1"
xlink:href="#linearGradient3836-0-7" />
<linearGradient
id="linearGradient3836-0-7">
<stop
id="stop3838-2-4"
offset="0"
style="stop-color:#bc8009;stop-opacity:1;" />
<stop
id="stop3840-5-0"
offset="1"
style="stop-color:#f9e2af;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="28.644661"
x2="30.783579"
y1="4.8241611"
x1="22.84341"
id="linearGradient3856"
xlink:href="#linearGradient3850" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="28.644661"
x2="30.783579"
y1="4.8241611"
x1="22.84341"
id="linearGradient3856-5"
xlink:href="#linearGradient3850-5" />
<linearGradient
id="linearGradient3850-5">
<stop
id="stop3852-1"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1;" />
<stop
id="stop3854-7"
offset="1"
style="stop-color:#cdd6f4;stop-opacity:0;" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="4.9104676"
x2="24.483221"
y1="41.590584"
x1="37.429146"
id="linearGradient3898"
xlink:href="#linearGradient3892" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.1460346,0,0,0.1460346,-220.10298,-56.296235)"
id="g4470">
<g
id="g4428">
<path
transform="matrix(6.6234045,0,0,6.6191713,1521.886,414.91855)"
d="M 53.611551,28.644661 A 24.813021,24.813021 0 0 1 28.798531,53.457682 24.813021,24.813021 0 0 1 3.9855099,28.644661 24.813021,24.813021 0 0 1 28.798531,3.8316402 24.813021,24.813021 0 0 1 53.611551,28.644661 Z"
id="path3044"
style="fill:none;stroke:#1e1e2e;stroke-width:8.27354764;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
transform="matrix(6.6234045,0,0,6.6191713,1521.886,414.91855)"
d="M 53.611551,28.644661 A 24.813021,24.813021 0 0 1 28.798531,53.457682 24.813021,24.813021 0 0 1 3.9855099,28.644661 24.813021,24.813021 0 0 1 28.798531,3.8316402 24.813021,24.813021 0 0 1 53.611551,28.644661 Z"
id="path3044-2"
style="fill:none;stroke:#6c7086;stroke-width:4.13677382000000020;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
transform="matrix(6.34735,0,0,6.34735,1529.8339,422.80776)"
d="M 53.611551,28.644661 A 24.813021,24.813021 0 0 1 28.798531,53.457682 24.813021,24.813021 0 0 1 3.9855099,28.644661 24.813021,24.813021 0 0 1 28.798531,3.8316402 24.813021,24.813021 0 0 1 53.611551,28.644661 Z"
id="path3044-2-4-1"
style="fill:none;stroke:url(#linearGradient3898);stroke-width:2.15765380999999980;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
transform="matrix(6.899293,0,0,6.8992932,1513.9387,406.99753)"
d="M 53.611551,28.644661 A 24.813021,24.813021 0 0 1 28.798531,53.457682 24.813021,24.813021 0 0 1 3.9855099,28.644661 24.813021,24.813021 0 0 1 28.798531,3.8316402 24.813021,24.813021 0 0 1 53.611551,28.644661 Z"
id="path3044-2-4"
style="fill:none;stroke:url(#linearGradient3856);stroke-width:1.98504162000000010;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<g
id="g3827-1-9"
transform="matrix(6.8476923,0,0,6.8476923,1781.1444,248.54544)">
<g
id="g3797-9-4"
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-8"
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-8"
style="fill:url(#linearGradient3801-1-1);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="matrix(6.8476923,0,0,6.8476923,1630.4952,248.54544)">
<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>
</g>
<metadata
id="metadata3799">
<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_Circle.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>circle</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>A circle with a dot at its centerpoint and another on the rightermost point of its circumference</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>