fix(web): apply the selected theme preset
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

The preset was written to data-theme in uppercase, while the CSS selectors
use lowercase/hyphenated values, so switching themes had no visual effect.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-14 09:44:13 +08:00
parent c507c01a71
commit 8925869f74
4 changed files with 61 additions and 2 deletions

View File

@@ -428,6 +428,10 @@
- 物理 Manifest/播放:RIGID_BODY 添加后 manifest 显示 `1 systems · 0 cached`,
播放使时间线 frame 1→2,暂停后停在 2;证据
`tools/web/complete/probe-physics.mjs`。
- 主题预设:此前 `dataset.theme` 写入大写 `LIGHT`,CSS 选择器为
`[data-theme="light"]`,切换无视觉效果。已归一化为小写/连字符;复测
DARK→LIGHT 背景 rgb(24,24,24)→rgb(236,236,236)→DARK;证据
`tools/web/complete/probe-theme.mjs`。
- Sequencer:Properties 的 Sequencer Strip Editing → Add Strip 创建
`Web MOVIE`(MOVIE);证据 `tools/web/complete/probe-sequencer.mjs`。
- Outliner:右键 `Data` 菜单 → 重命名,`PBR Studio Ground` → `GroundRenamed`,