From ea21b01ed637bd688887e2d039248f12eda2947f Mon Sep 17 00:00:00 2001 From: varutasu <104105839+varutasu@users.noreply.github.com> Date: Thu, 4 Jun 2026 11:14:53 -0500 Subject: [PATCH] =?UTF-8?q?feat(design-system):=20redesign=20v2=20#6=20?= =?UTF-8?q?=E2=80=94=20card=20grid=20outer-glow=20(#106)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sub-convoy #6 from .convoys/redesign-v2-from-mockups.md. The operator mockup shows TCG card thumbnails in the Featured Collection grid with a soft warm glow emanating around each card, suggesting "light cast onto cards" — the hearth metaphor at the card level. What ships: - styles/globals.css: new .card-grid-outer-glow utility with a single cheap box-shadow (warm orange at 18% alpha on light / 28% on dark) + a slightly bolder hover state (32%/50%). Honors the AGENTS.md performance budget ("card grids may NOT use glass on every card item") — this is a single-axis shadow, not a backdrop-filter. - components/CardItem.js: outer .card-item-container picks up the new class. The rarity-color glow on the inner chrome is UNTOUCHED (umbrella § 5 #6 explicit guard). Tests: - npm run test:run: 113/113 - npm run lint: clean - npm run build: green Next: #7 (dashboard rebuild) + #8 (right-rail Spotlight). Co-authored-by: Cursor --- components/CardItem.js | 2 +- styles/globals.css | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/components/CardItem.js b/components/CardItem.js index 7781125..4ed31ad 100644 --- a/components/CardItem.js +++ b/components/CardItem.js @@ -287,7 +287,7 @@ export default function CardItem({ // Grid view return ( -
+
{/* Main Card Container */}