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

122 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="64px"
height="64px"
id="svg2735"
sodipodi:version="0.32"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
sodipodi:docname="Warning.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
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="defs2737">
<linearGradient
inkscape:collect="always"
id="linearGradient3774">
<stop
style="stop-color:#bc8009;stop-opacity:1"
offset="0"
id="stop3776" />
<stop
style="stop-color:#f8c459;stop-opacity:0;"
offset="1"
id="stop3778" />
</linearGradient>
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective2743" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3774"
id="linearGradient3780"
x1="531.31073"
y1="35.292263"
x2="517.97607"
y2="-14.006179"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#cdd6f4"
bordercolor="#38394b"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11"
inkscape:cx="27.590909"
inkscape:cy="34.318182"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:document-units="px"
inkscape:grid-bbox="true"
inkscape:window-width="1920"
inkscape:window-height="986"
inkscape:window-x="0"
inkscape:window-y="32"
inkscape:window-maximized="1"
inkscape:pagecheckerboard="0">
<inkscape:grid
type="xygrid"
id="grid2984"
empspacing="2"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata2740">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<path
transform="matrix(1.0590534,0,0,1.0590534,-518.49688,29.778244)"
style="fill:#f9e2af;fill-opacity:1;fill-rule:evenodd;stroke:#664506;stroke-width:1.88847888;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 519.80087,-21.508116 27.38295,47.211972 -54.76589,0 z"
id="path2644"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
transform="matrix(0.89990936,0,0,0.93309237,-436.1315,31.069059)"
style="fill:url(#linearGradient3780);fill-opacity:1;fill-rule:evenodd;stroke:#f9e2af;stroke-width:2.18257069999999986;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 520.1985,-21.508115 28.3867,47.15503 -56.77339,0 z"
id="path2644-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:#11111b;fill-opacity:1;stroke:#11111b;stroke-width:0.959166px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 30,19 29,39.24 32,42 35,39.24 34,19 Z"
id="path67"
sodipodi:nodetypes="cccccc" />
<circle
style="fill:#11111b;stroke:#11111b;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
id="path91"
cx="31.970903"
cy="48.55901"
r="2" />
</g>
</svg>