Repository navigation
Redesign gallery tiles and the four card previews - #10
Merged
Merged
Conversation
… lattice The tiles were a plain bezel around an empty stage. Each now reads as a channel on the bench, still achromatic at rest: - The bezel paints the charge field's own --px/--py radial on fixed attachment, so the field passes through tiles instead of stopping at their edges, and the hairline nearest the cursor warms to --charge. No new listener. Fine pointers only, since iOS ignores fixed attachment. - Four viewfinder corners close in on the effect on hover/focus-within (220ms out-curve in, 420ms spring out) and take --charge; reduced motion keeps the colour, drops the travel. - A faint dot lattice on the stage, masked out at the centre. - The footer leads with the effect's number in the frozen 12, hidden below sm. Documented in docs/DESIGN.md § Tile metadata. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The four card previews were the same template (eyebrow, title, blurb, "Read the spec"). Each is now a scene a visitor would meet on a real landing page, chosen so the surface gives its effect something to act on: - spotlight-card: a pricing tier with a ruled feature list for the light to cross - tilt-card: an admission ticket with a perforation and cut-out notches - reveal-card: a specimen plate under a reticle; the media keeps its 228px height and the caption its 32px, so the measured recession is unchanged - chase-border-card: a release card using the registry's real figures Previews only; no effect file or registry item changes. Tokens throughout, a focusable link in every card for G9, --charge only on focus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
4 of 6 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Two things, one commit each:
components/gallery/tile.tsx,app/globals.css). The bezel now paints the charge field's own--px/--pyradial onfixedattachment. The field passes through tiles instead of stopping at their edges, and the hairline nearest the cursor warms to--charge, on neighbouring tiles too. Four viewfinder corners close in on the effect on hover or focus-within and take--charge. The stage gets a faint dot lattice, masked out at the centre. The footer leads with the effect's number in the frozen 12.registry/hover/*-card/preview.tsx). The four previews were one template repeated. Each is now its own landing-page scene: a pricing tier (spotlight), an admission ticket (tilt), a specimen plate under a reticle (reveal) and a release card using the registry's real figures (chase border).Why
The tiles were a plain bezel around an empty stage, and the card previews were interchangeable placeholders. Neither showed the page thesis or gave the effects anything to act on. Everything stays achromatic at rest: colour appears only under the pointer or on focus.
Notes for review:
ChargeFieldalready writes. It is gated to(hover: hover) and (pointer: fine)because iOS ignoresbackground-attachment: fixed, which would pin the radial to each tile's own box..tsxand no registry item changed; onlypreview.tsxfiles.public/r/is unchanged afternpm run build.docs/DESIGN.md§ Tile metadata documents the new tile behaviour.The gate
Every PR
npm run lintpassesnpm run buildpassesTouching
registry/hover/Only
preview.tsxfiles changed.preview.tsxis gallery-only and is not listed in the registry itemnpm run registry:buildwas run (vianpm run build);public/r/has no diffSCOPE.mdMotion and accessibility —
docs/MOTION.mdfocus-withinmotion-reduce:transform-none!on the marks) but not checked with the OS setting ontransformandcoloronly; the lit edge is a paint driven by existing CSS vars, with no layout work on pointer movemotion-reviewerhas not been run on these changes yetScreen recording
Not attached. The tiles and all four previews were checked in the in-app browser at 1440px (light and dark, at rest and hovered) and at 375px.
🤖 Generated with Claude Code