claude-code-best/packages
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
..
@ant fix: theme switching always defaults to dark mode 2026-04-30 16:15:27 +08:00
acp-link fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
agent-tools feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
audio-capture-napi fix: 修复构建后 vendor 二进制路径解析错误(ripgrep/audio-capture) 2026-04-25 14:46:02 +08:00
builtin-tools fixup: address CodeRabbit review on PR #386 2026-04-29 15:17:50 +08:00
color-diff-napi fix: highlight 缓存改用 LRUCache 降低内存开销 2026-04-29 21:59:10 +08:00
image-processor-napi Fixture/langfuse record auto mode data error (#308) 2026-04-20 13:30:05 +08:00
mcp-client feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
modifiers-napi feat: 添加 napi 包测试覆盖与 stub 改进 2026-04-22 22:38:10 +08:00
remote-control-server fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
url-handler-napi feat: 添加 napi 包测试覆盖与 stub 改进 2026-04-22 22:38:10 +08:00
weixin feat: 接入内建 weixin channel(同 #301 重构版本) (#303) 2026-04-19 21:33:27 +08:00
tsconfig.json feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00