store: design foundation — spacing/color tokens, type scale, rhythm, grid #33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Restyle
apps/store/app/globals.cssonly — no.tsxchanges, every existing class keeps working. Add a:roottoken block (--s1..--s16,--r-sm/md/lg,--ink,--ink-muted,--surface,--bg,--line,--accent,--accent-hover,--container: 1280px), replace every hardcoded hex and spacing literal with tokens, retune the type scale to retail sizes (h1clamp(1.9rem, 4vw, 2.5rem), delete the.page > h1/.product-detail h1re-inflating overrides), make section rhythm symmetric, widen containers to--container, densify.product-gridtominmax(200px, 1fr), make.cardsauto-fit, add amax-width: 1024pxbreakpoint for the currently-unhandled 701–1120px range, switch product images toaspect-ratio: 1/1, give touch targetsmin-height: 44px, and pre-style the classes later waves need (.price,.price-note,.stock-badge,.category-tiles,.category-tile,.cart-button,.cart-count,.cart-line,.cart-summary,.fulfilment-choice,.sticky-buy).Acceptance:
pnpm --filter garage-store lintpasses; no hex literal and no barepxspacing value outside:root; the site builds and every existing page renders with no unstyled element.