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

26 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="16"
height="16"
viewBox="0 0 4.2333332 4.2333333"
version="1.1"
id="svg1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<g
id="layer1">
<path
id="path103"
style="baseline-shift:baseline;display:inline;overflow:visible;vector-effect:none;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.9;enable-background:accumulate;stop-color:#11111b"
d="M 1.9084106 0.13280843 C 1.4044505 0.12489516 0.87462437 0.31132929 0.44751789 0.69349771 L 0.15037842 0.95911456 L 0.67954507 1.5508097 L 0.97668455 1.2851928 C 1.5383167 0.78265296 2.2838501 0.85615471 2.5957071 1.2402344 L 2.7652058 1.4490071 L 2.1151163 1.9766235 L 3.8788329 2.1931477 L 4.0312784 0.42167968 L 3.3806721 0.94981281 L 3.2111734 0.7400065 C 2.8895484 0.34389668 2.4123707 0.1407217 1.9084106 0.13280843 z M 0.35346679 2.041219 L 0.20308837 3.8126871 L 0.85214435 3.2850707 L 1.021643 3.4943603 C 1.664893 4.2865799 2.9331526 4.3036555 3.7873656 3.5393188 L 4.0819213 3.2731852 L 3.5527547 2.6835571 L 3.2576822 2.9471069 C 2.69605 3.4496469 1.9505166 3.3761449 1.6386596 2.9920654 L 1.4691609 2.7843261 L 2.1171834 2.2577433 L 0.35346679 2.041219 z " />
<path
id="path104"
style="baseline-shift:baseline;display:inline;overflow:visible;vector-effect:none;fill:#cdd6f4;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:1.9;enable-background:accumulate;stop-color:#11111b"
d="M 1.90625,0.30078125 C 1.4457174,0.29354989 0.95627644,0.46426654 0.56054687,0.81835938 L 0.38867188,0.97265625 0.69335937,1.3125 0.86328125,1.1601562 C 1.4810321,0.60740228 2.3416726,0.66073938 2.7265625,1.1347656 L 3.0039063,1.4746094 2.53125,1.8574219 3.7265625,2.0039063 3.8300781,0.80078125 3.3554688,1.1855469 3.0800781,0.84765625 C 2.7920433,0.49291582 2.3664937,0.30800808 1.90625,0.30078125 Z M 0.50585937,2.2304688 0.40429688,3.4296875 0.87695313,3.046875 1.1523437,3.3867188 c 0.5756557,0.708971 1.7300501,0.7355065 2.5214844,0.027344 L 3.84375,3.2617188 3.5390625,2.921875 3.3710938,3.0722656 C 2.7533916,3.6249762 1.8927024,3.5716822 1.5078125,3.0976563 L 1.2304687,2.7617188 1.703125,2.3769531 Z" />
</g>
</svg>