claude-code-best/packages/@ant
Bonerush 71c89e9de4 fix: theme switching always defaults to dark mode
Root causes:
1. ThemeProvider was imported but never used in App.tsx and showSetupDialog
2. setThemeConfigCallbacks was never called to inject persistence callbacks
3. Preview/save/cancel theme lifecycle had no provider to coordinate

Changes:
- Export setThemeConfigCallbacks from @anthropic/ink
- Wrap App.tsx children with ThemeProvider (initialState from config, onThemeSave persists)
- Wrap showSetupDialog with ThemeProvider for onboarding/trust dialogs
- Call setThemeConfigCallbacks in init.ts to register load/save callbacks
- Update SnapshotUpdateDialog test to account for new ThemeProvider wrapper

Fixes #theme-switching
2026-04-30 16:15:27 +08:00
..
claude-for-chrome-mcp feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
computer-use-input feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
computer-use-mcp feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
computer-use-swift fix: 修复类型问题(#267) (#271) 2026-04-15 10:54:00 +08:00
ink fix: theme switching always defaults to dark mode 2026-04-30 16:15:27 +08:00
model-provider fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00