Virtual log scroll harness: named colours, as the kit's colour rule asks
Jonas Templestein, 2026-11-28 00:40 UTC · 73b58a4b9cce7bbdd524fd8b45059c3b056fef52 · parent 3dc305c
1 file changed
M src/test-support/virtual-log-scroll-harness.tsx
@@ -131,18 +131,18 @@ style={{ height: `${height}px`, boxSizing: "border-box", - borderBottom: "1px solid #e5e7eb", + borderBottom: "1px solid lightgray", padding: row.height <= 8 ? "0 8px" : "4px 8px", fontSize: "12px", overflow: "hidden", background: row.kind === "widget" - ? "#eef2ff" + ? "lavender" : row.kind === "user" - ? "#f8fafc" + ? "ghostwhite" : row.kind === "tiny4" - ? "#f1f5f9" - : "#ffffff", + ? "whitesmoke" + : "white", }} > {row.height > 8 ? `${row.id} (${row.kind}, ${height}px)` : null} @@ -262,8 +262,8 @@ <div style={{ height: "84px", - background: "#ffffff", - borderTop: "1px solid #d1d5db", + background: "white", + borderTop: "1px solid silver", padding: "12px", boxSizing: "border-box", }}