7015725
cb01591369
fix: 主题模板真正应用到设置页 UI
之前主题模板只影响了 getPanelBgColorInt/getPanelTextColorInt,
但设置页 UI(buildSettingsGroupPanelView)的颜色全部来自
getAnimalIslandTheme() 硬编码,完全不经过模板逻辑。
修复:
1. buildSettingsGroupPanelView 开头判断是否选了非 system 模板,
若是则根据模板的 dayBg/dayText/nightBg/nightText 自动生成
一套兼容 T 结构的配色,覆盖 Animal Island 的 T 对象
2. 模板值从 pendingUserCfg 读取(预览态)
3. setPendingValue 中当 key=THEME_TEMPLATE 时,通过
replaceToolAppPage('settings_group') 重建整个设置页 UI,
使模板切换立即生效
2026-05-15 02:11:38 +08:00
..
2026-05-15 01:56:58 +08:00
2026-05-14 03:10:25 +08:00
2026-04-21 07:42:23 +08:00
2026-05-15 02:00:25 +08:00
2026-05-15 02:11:38 +08:00
2026-04-21 07:42:23 +08:00
2026-04-21 07:42:23 +08:00
2026-04-21 07:42:23 +08:00
2026-05-14 18:44:57 +08:00
2026-04-20 12:32:55 +08:00
2026-05-12 10:24:30 +08:00
2026-04-21 07:42:23 +08:00
2026-05-14 23:24:48 +08:00
2026-05-15 02:11:38 +08:00
2026-05-15 02:08:58 +08:00
2026-05-12 10:24:30 +08:00