Repository navigation
Restyle the simulator to match World App's World ID screens - #243
Merged
Merged
Conversation
Adopt the Nucleus design system (@worldcoin/nucleus): colors, the type scale and button geometry are read from its token JSON in tailwind.config.js, World Pro replaces Sora and Rubik, and icons come from the same package. - Home is the World App credential hub: a large "Credentials" title, round QR and avatar toolbar buttons, and a stack of credential cards (Human, Passport, ID, Device) at the app's 100:63 ratio with tap-to-focus details. - The verification sheet follows the World ID 4.0 request card: round app logo with the verified badge, credential pills, "<app> will see these proofs", then Cancel / Continue with Presenting, Presented and Failed states. Simulator-only controls (v3/v4 toggle, invalid proof) sit under a "Simulator options" divider. - Sheets, dialogs, list rows, toasts, the scanner and error states use the app's geometry and copy. Identity switching moves into Settings behind the avatar; paste code becomes a pill on home and a ghost button in the scanner. - The card gem, wordmark texture, emblems, badges, status marks and error heroes are the app's own assets (iOS asset catalogs and the credential-request CDN); the ID card follows the National ID shader. - Drop the "Downloading Semaphore" chip, the old passport PNG artwork and the unused legacy icons. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…e new words `prettier --check src/**` relied on zsh's recursive globbing; under CI's bash it expanded to `src/*`, and the new images-only `src/assets` directory made Prettier exit with "No supported files were found". Quote an explicit glob so Prettier does its own matching on any shell. Add the design terms, icon name and hex colors introduced by the redesign to the cspell dictionary, and write "couldn't" as a string so the HTML entity no longer splits the word for the spellchecker. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
Summary
Restyles the simulator so it looks like the World App's World ID screens while keeping every existing function (scan, paste code, v3/v4 proofs, invalid-proof test, identity switching, reset).
@worldcoin/nucleuspackage.tailwind.config.jsreads its color, type-scale and button JSON at build time,next/font/localloads World Pro from the package (replacing Sora and Rubik), and icons come from the same set through the existing mask-basedIconcomponent.cn()is taught the Nucleus type-scale classes so tailwind-merge stops dropping text colors.Header,Item,Maintenance,IconGradient,WorldID).Please review
src/assets/world-id/contains artwork copied from the privateworld-app-iosasset catalogs (gem, wordmark texture, glyph, badges, illustrations) into this public repo. Brand-asset sign-off may be needed before merging.src/stores/modalStore.tsends with a development-onlywindow.__modalStorehook used to drive the request sheet for screenshots. It is gated onNODE_ENV === "development"and stripped from production builds.src/lib/credentials.ts.Verification
pnpm typecheck,pnpm lint(ESLint + Prettier) andpnpm test(20 MCP tests) pass.Follow-ups (separate PRs in flight)
_app.tsx(registration waits forload, which has already fired in dev) means the prover cache never fills innext dev.cacheStorehas no remaining reader and can be removed.🤖 Generated with Claude Code