Fix: give the color-mix hex fixture explicit pixel size

jsdom does no layout; Greptile asked for width/height on .mix-hex-brand so the static fixture stays deterministic. Prepared with AI assistance.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Abdul Wahab
2026-08-22 06:54:26 +05:00
co-authored by Cursor
parent 5444031942
commit 7426af446e
+1 -1
View File
@@ -47,7 +47,7 @@
.mix-glow p { color: #ded9cf; font-size: 16px; }
/* issue #578 — #000 inside color-mix is an ingredient; white-ish text on
the mixed dark green must not be scored against phantom black. */
.mix-hex-brand { background: linear-gradient(135deg, color-mix(in srgb, var(--mix-hex-brand) 92%, #000), color-mix(in srgb, var(--mix-hex-brand-deep) 90%, #000)); padding: 20px; }
.mix-hex-brand { background: linear-gradient(135deg, color-mix(in srgb, var(--mix-hex-brand) 92%, #000), color-mix(in srgb, var(--mix-hex-brand-deep) 90%, #000)); width: 400px; height: 120px; padding: 20px; }
/* currentcolor surface: background-color paints with the element's own
text color, which is itself a var() token here. jsdom hands both
through verbatim, so the walk must resolve the token via the