Skip to content

Update x402 agent demo to Privy design language#143

Open
madeleine-c wants to merge 1 commit intomainfrom
mcharity/x402-demo-privy-design-update
Open

Update x402 agent demo to Privy design language#143
madeleine-c wants to merge 1 commit intomainfrom
mcharity/x402-demo-privy-design-update

Conversation

@madeleine-c
Copy link
Contributor

Summary

  • Migrates the x402 agent demo from ad-hoc violet/offblack colors to the canonical Privy design system (from privy-next-starter)
  • Replaces all brand colors with Privy primary (#5B4FFF), standardizes borders (#E2E3F0), highlight backgrounds (#E0E7FF), and info backgrounds (#F1F2F9)
  • Adds .button-primary, .button-outline, .button component classes to globals.css
  • Loads Inter font via next/font/google in layout.tsx

Files changed (10)

  • app/globals.css — complete rewrite with Privy design tokens and button classes
  • app/layout.tsx — Inter font loading
  • app/page.tsx — landing page colors
  • app/agent/[id]/page.tsx — actions step colors
  • app/agent/[id]/fund/page.tsx — fund step colors
  • app/agent/[id]/policy/page.tsx — policy step colors
  • components/StepIndicator.tsx — step indicator colors
  • components/AgentCard.tsx — agent card colors
  • components/ActionCard.tsx — action card colors
  • CLAUDE.md — updated styling conventions section

Test plan

  • Run npm run dev and walk through the full wizard (create agent → fund → policy → actions)
  • Verify all buttons, borders, and backgrounds use Privy brand colors
  • Verify no remaining violet/offblack color references
  • Test both weather (under policy) and sweater (over policy) actions render correctly

🤖 Generated with Claude Code

Migrate the x402 agent demo from ad-hoc violet/offblack color scheme to
the canonical Privy design system extracted from privy-next-starter.

- Replace violet (#8B5CF6) with Privy primary (#5B4FFF)
- Replace offblack (#0f0f10) buttons with #5B4FFF/#4A3EE6
- Standardize borders to #E2E3F0, highlight bgs to #E0E7FF
- Add .button-primary, .button-outline, .button classes to globals.css
- Load Inter font via next/font/google
- Update CLAUDE.md styling conventions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude
@vercel
Copy link

vercel bot commented Feb 23, 2026

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

Project Deployment Actions Updated (UTC)
privy-react-farcaster Error Error Feb 23, 2026 5:11pm
privy-react-fiat-onramp Error Error Feb 23, 2026 5:11pm
privy-react-funding Error Error Feb 23, 2026 5:11pm
privy-react-permissionless Error Error Feb 23, 2026 5:11pm
privy-react-smart-wallets Error Error Feb 23, 2026 5:11pm
15 Skipped Deployments
Project Deployment Actions Updated (UTC)
privy-next-cross-app-connect Ignored Ignored Feb 23, 2026 5:11pm
privy-next-cross-app-provider Ignored Ignored Feb 23, 2026 5:11pm
privy-next-farcaster Ignored Ignored Feb 23, 2026 5:11pm
privy-next-farcaster-mini-app Ignored Ignored Feb 23, 2026 5:11pm
privy-next-fiat-onramp Ignored Ignored Feb 23, 2026 5:11pm
privy-next-funding Ignored Ignored Feb 23, 2026 5:11pm
privy-next-permissionless Ignored Ignored Feb 23, 2026 5:11pm
privy-next-session-keys Ignored Ignored Feb 23, 2026 5:11pm
privy-next-smart-wallets Ignored Ignored Feb 23, 2026 5:11pm
privy-next-solana Ignored Ignored Feb 23, 2026 5:11pm
privy-next-starter Ignored Ignored Feb 23, 2026 5:11pm
privy-next-wagmi Ignored Ignored Feb 23, 2026 5:11pm
privy-react-pwa Ignored Ignored Feb 23, 2026 5:11pm
privy-react-starter Ignored Ignored Feb 23, 2026 5:11pm
privy-react-whitelabel-starter Ignored Ignored Feb 23, 2026 5:11pm

Request Review

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