Starter · code-edit

用途型 CSS token

先看見缺口,再完成一個小修改。

Starter 要做什麼

先看見缺口,再完成一個小修改。

本主題檔案: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)}

檔案清單

只在本階段資料夾內操作,避免改到其他章節。

證據:runtime before=rgb(255, 255, 255)、after=rgb(217, 238, 243)、property=background-color

前往 Checkpoint →