usage 0.6.2
新功能 1 項
駭客任務面板的專案用量圖示回來了
之前在駭客任務(Matrix)面板裡,「專案用量」卡片上的資料夾圖示不見了。這是因為程式碼裡不小心寫了一段無限迴圈的顏色設定(CSS 變數自己參考自己),導致系統不知所措,直接把圖示變成透明的。我們現在把那段多餘的設定移除了,資料夾圖示就正常顯示了。就像是油漆工不小心把顏料罐的標籤貼成了「這罐顏料的顏色」,結果不知道該塗什麼顏色就乾脆不塗,現在把亂標的標籤撕掉,終於塗上正確的顏色了。
官方原文
**Matrix panel "Project Usage" folder icon missing**: each card carried an inline style="--accent: var(--accent)" — a self-referential cyclic CSS variable. Per the CSS spec, cyclic var() resolves to invalid-at-computed-value-time and unsets the property, so the inline SVG's stroke="var(--accent)" had no color and rendered transparent. Claude / Codex cards use <img> so they were unaffected, but the projects card's inline SVG folder icon disappeared. --accent is already defined on :root and inherits to all descendants, so the per-card overrides were meaningless — removing them restores the icon.