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

320 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="svg5821"
height="64px"
width="64px">
<defs
id="defs5823">
<linearGradient
id="linearGradient3791">
<stop
id="stop3793"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient6349">
<stop
id="stop6351"
offset="0"
style="stop-color:#11111b;stop-opacity:1;" />
<stop
id="stop6353"
offset="1"
style="stop-color:#11111b;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
id="stop3379"
offset="0"
style="stop-color:#0845b0;stop-opacity:1;" />
<stop
id="stop3381"
offset="1"
style="stop-color:#5190f8;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientTransform="matrix(-1,0,0,1,2199.356,0)"
gradientUnits="userSpaceOnUse"
y2="1190.875"
x2="1267.9062"
y1="1190.875"
x1="901.1875"
id="linearGradient3383"
xlink:href="#linearGradient3377" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1.4307499,-1.3605156e-7,-1.202713e-8,0.1264801,2674.7488,1244.2826)"
r="194.40614"
fy="1424.4465"
fx="1103.6399"
cy="1424.4465"
cx="1103.6399"
id="radialGradient6355"
xlink:href="#linearGradient6349" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3797"
xlink:href="#linearGradient3791" />
<linearGradient
id="linearGradient3791-6">
<stop
id="stop3793-7"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795-5"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3820"
xlink:href="#linearGradient3791-6" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3797-3-2"
xlink:href="#linearGradient3791-6-7" />
<linearGradient
id="linearGradient3791-6-7">
<stop
id="stop3793-7-0"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795-5-9"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient3791-6-7"
id="linearGradient3834-3"
gradientUnits="userSpaceOnUse"
x1="939.98767"
y1="1097.5122"
x2="893.2572"
y2="989.77716" />
<linearGradient
id="linearGradient3791-0">
<stop
id="stop3793-6"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795-2"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3896"
xlink:href="#linearGradient3791-0" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3797-1"
xlink:href="#linearGradient3791-2" />
<linearGradient
id="linearGradient3791-2">
<stop
id="stop3793-9"
offset="0"
style="stop-color:#0846b3;stop-opacity:1" />
<stop
id="stop3795-3"
offset="1"
style="stop-color:#89b4fa;stop-opacity:1" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="989.77716"
x2="893.2572"
y1="1097.5122"
x1="939.98767"
id="linearGradient3896-1"
xlink:href="#linearGradient3791-2" />
<linearGradient
xlink:href="#linearGradient3791-2"
id="linearGradient3916-9"
gradientUnits="userSpaceOnUse"
x1="939.98767"
y1="1097.5122"
x2="893.2572"
y2="989.77716" />
</defs>
<g
id="layer1">
<g
transform="matrix(0.1367863,0,0,0.1367863,-119.15519,-134.86962)"
id="g3360">
<g
id="g3799">
<g
id="g3956">
<g
style="fill:#307bf7;stroke:#052459;stroke-width:9.12373734;stroke-opacity:1"
transform="matrix(1.7521655,0,0,1.4657307,-647.24141,-419.43277)"
id="g3812">
<rect
style="fill:#307bf7;fill-opacity:1;fill-rule:nonzero;stroke:#052459;stroke-width:9.12373734;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect3808"
width="58.413097"
height="119.7056"
x="887.41589"
y="983.79187" />
</g>
<g
style="fill:url(#linearGradient3797);stroke:#89b4fa;stroke-width:11.82571345000000029;stroke-opacity:1;stroke-linecap:square;stroke-miterlimit:4;stroke-dasharray:none;stroke-linejoin:miter;fill-opacity:1"
transform="matrix(1.251547,0,0,1.2214422,-188.36328,-164.48243)"
id="g3812-0">
<rect
style="fill:url(#linearGradient3797);fill-opacity:1.0;fill-rule:nonzero;stroke:#89b4fa;stroke-width:11.82571345000000029;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect3808-6"
width="58.413097"
height="119.7056"
x="887.41589"
y="983.79187" />
</g>
</g>
</g>
<g
id="g3799-3-2"
transform="translate(146.21345,219.32019)">
<g
id="g3956-5-3">
<g
style="fill:#307bf7;stroke:#052459;stroke-width:9.12373734;stroke-opacity:1"
transform="matrix(1.7521655,0,0,1.4657307,-647.24141,-419.43277)"
id="g3812-6-7">
<rect
style="fill:#307bf7;fill-opacity:1;fill-rule:nonzero;stroke:#052459;stroke-width:9.12373734;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect3808-2-5"
width="58.413097"
height="119.7056"
x="887.41589"
y="983.79187" />
</g>
<g
style="fill:url(#linearGradient3797-3-2);fill-opacity:1;stroke:#89b4fa;stroke-width:11.82571316;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
transform="matrix(1.251547,0,0,1.2214422,-188.36328,-164.48243)"
id="g3812-0-9-9">
<rect
style="fill:url(#linearGradient3834-3);fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:11.82571316;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect3808-6-1-2"
width="58.413097"
height="119.7056"
x="887.41589"
y="983.79187" />
</g>
</g>
</g>
<g
id="g3799-4"
transform="translate(292.42692,-3.1029367e-7)">
<g
id="g3956-7">
<g
style="fill:#307bf7;stroke:#052459;stroke-width:9.12373734;stroke-opacity:1"
transform="matrix(1.7521655,0,0,1.4657307,-647.24141,-419.43277)"
id="g3812-84">
<rect
style="fill:#307bf7;fill-opacity:1;fill-rule:nonzero;stroke:#052459;stroke-width:9.12373734;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect3808-5"
width="58.413097"
height="119.7056"
x="887.41589"
y="983.79187" />
</g>
<g
style="fill:url(#linearGradient3797-1);fill-opacity:1;stroke:#89b4fa;stroke-width:11.82571316;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
transform="matrix(1.251547,0,0,1.2214422,-188.36328,-164.48243)"
id="g3812-0-0">
<rect
style="fill:url(#linearGradient3916-9);fill-opacity:1;fill-rule:nonzero;stroke:#89b4fa;stroke-width:11.82571316;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="rect3808-6-3"
width="58.413097"
height="119.7056"
x="887.41589"
y="983.79187" />
</g>
</g>
</g>
</g>
</g>
<metadata
id="metadata3357">
<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>Sat Dec 10 18:31:32 2011 +0000</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>[yorikvanhavre]</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_Array.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:description>Six rectangles in a 2 x 3 linear array</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>rectangle</rdf:li>
<rdf:li>array</rdf:li>
</rdf:Bag>
</dc:subject>
</cc:Work>
</rdf:RDF>
</metadata>
</svg>