feat(icons): add icon theming infrastructure with Catppuccin color remapping
Some checks failed
Build and Test / build (pull_request) Has been cancelled
Some checks failed
Build and Test / build (pull_request) Has been cancelled
- 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
This commit is contained in:
@@ -36,7 +36,7 @@ These files/directories exist only in Kindred Create and can be copied directly
|
||||
|
||||
| Directory | Description |
|
||||
|-----------|-------------|
|
||||
| `kindred-icons/` | 1444 Catppuccin Mocha SVG icon overrides |
|
||||
| `icons/kindred/` | 1444 Catppuccin Mocha SVG icon overrides |
|
||||
| `mods/silo/` | Silo workbench submodule (`silo-mod`) |
|
||||
| `mods/ztools/` | ZTools workbench submodule |
|
||||
| `src/Mod/Create/` | Kindred Create workbench (InitGui.py, kc_format.py, update_checker.py, version.py.in) |
|
||||
@@ -179,7 +179,7 @@ Files touched: `src/Mod/Assembly/App/AssemblyObject.cpp`, `src/Mod/Assembly/Util
|
||||
1. **Build**: Full CMake configure + build succeeds
|
||||
2. **Launch**: Application starts without errors, splash and about dialogs show Kindred branding
|
||||
3. **Theme**: KindredCreate theme loads correctly, QSS applies
|
||||
4. **Icons**: kindred-icons override system works (BitmapFactory loads from kindred-icons/)
|
||||
4. **Icons**: icon override system works (BitmapFactory loads from icons/kindred/)
|
||||
5. **Origin system**: FileOrigin, OriginManager, OriginSelectorWidget functional
|
||||
6. **Silo integration**: Auth panel, activity panel, save/commit/pull all work
|
||||
7. **File format**: `.kc` files open/save with silo/ directory preserved
|
||||
@@ -199,7 +199,7 @@ git fetch upstream
|
||||
git checkout -b kindred-on-upstream-1.2 upstream/main
|
||||
|
||||
# 3. Copy Kindred-only directories
|
||||
git checkout origin/main -- kindred-icons/ mods/ src/Mod/Create/ package/ docs/ \
|
||||
git checkout origin/main -- icons/ mods/ src/Mod/Create/ package/ docs/ \
|
||||
.gitea/ resources/kindred* banner-logo-light.png CONTRIBUTING.md .gitmodules
|
||||
|
||||
# 4. Copy new Kindred source files (no conflicts)
|
||||
|
||||
Reference in New Issue
Block a user