Checkpoint 要做什麼
只驗證本主題責任,不偷渡其他答案。
本主題檔案:files/style.css
定位:在 Styles 確認 background 使用 var(--surface),不是另一個固定色碼。
Checkpoint · code-edit
只驗證本主題責任,不偷渡其他答案。
只驗證本主題責任,不偷渡其他答案。
本主題檔案:files/style.css
定位:在 Styles 確認 background 使用 var(--surface),不是另一個固定色碼。
頁面不會替你修改檔案;請在實作檔完成後重新整理確認。
卡片使用 var(--surface),根 scope 提供 #fff;未套 alternate-surface。
runtime 的 background-color 由 rgb(255, 255, 255) 變 rgb(217, 238, 243),元件宣告仍為 background:var(--surface)。
:root{--surface:#fff;--text:#17324d}.card{background:var(--surface);color:var(--text)}只在本階段資料夾內操作,避免改到其他章節。
index.htmlstyle.cssmain.js證據:runtime before=rgb(255, 255, 255)、after=rgb(217, 238, 243)、property=background-color
前往 Solution →