fix(web): apply the selected theme preset
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:
@@ -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`,
|
||||
|
||||
Reference in New Issue
Block a user