fix(theme): 修复注册循环被 bisect 残留覆盖——亮色预设全部失效

Solarized Light 等亮色预设不生效的根因:此前栈溢出二分时
register_bundled_themes 被改为「只注册 catppuccin 4 个」的探针版,
后续恢复只还原了 truncate 而漏掉了注册循环本体(BUNDLED_THEME_FILES
全量循环留在 0..0 死代码里)。暗色预设(Catppuccin Mocha)碰巧可用,
亮色一律回退深色。

恢复全量注册循环;39 个预设名(Linear + 38)注册验证通过;
Catppuccin Mocha / Solarized Light 双预设实机截图验证生效。
顺带移除排查期临时打点,恢复用户 settings 为 system/linear。
This commit is contained in:
2026-10-12 19:31:07 +08:00
parent ac5b6e9862
commit dd57077e0c
2 changed files with 1 additions and 14 deletions
+1
View File
@@ -19,6 +19,7 @@ pub fn init_themes(cx: &mut gpui_kit::App) {
ui::app::theme::register_bundled_themes(cx);
}
pub mod aliyun;
pub mod model;
pub mod mqtt;