Skip to content

Add reusable card finishes and interactive demo - #321

Open
nicklemmon wants to merge 1 commit into
mainfrom
feat/card-shaders
Open

Add reusable card finishes and interactive demo#321
nicklemmon wants to merge 1 commit into
mainfrom
feat/card-shaders

Conversation

@nicklemmon

Copy link
Copy Markdown
Owner

Adds reusable decorative finishes to playing cards and an interactive comparison page at /card-finishes, linked from the title screen. Cards can opt into etched foil (30%), prismatic (60%), gilded (50%), or ember (85%) through the finish prop, with optional strength and animation overrides.

The demo shows the original card alongside all four finishes, with artwork selection, independent strength sliders, reset, and animation controls. Foil keeps its texture anchored while light moves; embers have varied positions, sizes, timing, and drift. Effects use CSS layers, preserve readable card text, and respect reduced motion.

Validation: repository formatting, typechecking, and lint scripts passed; all 138 tests passed. Browser checks covered independent strength changes/reset, anchored foil, ember pause/reduced motion, and mobile overflow. Browser tests were run outside the sandbox to allow their local server to bind a port.

@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-deckbuilder Ready Ready Preview Sep 5, 2026 2:33pm UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant