Skip to content

Redesign UI to match Gmail's visual language#6

Open
alpaylan wants to merge 3 commits into
mainfrom
gmail-redesign
Open

Redesign UI to match Gmail's visual language#6
alpaylan wants to merge 3 commits into
mainfrom
gmail-redesign

Conversation

@alpaylan

Copy link
Copy Markdown
Owner

Summary

Reskins 2clickmail to match Gmail's visual language while keeping the IA honest (no fake folders/labels — the sidebar reflects what the app actually does).

  • Theme: Gmail palette (#1a73e8 blue, #c2e7ff compose chip, #f6f8fc background), Google Sans typography, fully rounded buttons.
  • Layout: top app bar (logo, "Search mail" pill, help/settings/apps icons, account avatar menu) + sticky left rail with the iconic light-blue Compose pill linking to /generate. Sidebar collapses to icons via the hamburger.
  • /profile: Gmail inbox-style list — recipients on the left, subject + body preview in the middle, sent count + date on the right, hover shadow, click to open. Header search wires ?q= into a client-side filter.
  • /generate: compose card with the dark "New Message" header, To/Cc/Bcc chip rows, borderless subject, large body textarea, and a blue Send pill.
  • /email/:id: opened-conversation view — large subject as h1, sender avatar + recipient chips, body in a clean reading column, Send / Edit / Reuse pill buttons + copy-link / Twitter / WhatsApp share icons. Edit-in-place still works.
  • /login, /register: Google sign-in style cards (centered, bordered, mail icon, "Next" button, cross-link between the two).
  • /about: Gmail settings-panel style.
  • Removed dead components: Footer.tsx, navbar.tsx, MailChip.tsx, ShareButton.tsx.

Test plan

  • Vercel preview loads — check the top bar, sidebar, and Compose pill render with Google Sans.
  • Hamburger collapses the sidebar to an icon-only rail.
  • /generate — fill To/Cc/Bcc, subject, body; Send creates an email and routes to /email/:id.
  • /email/:id — Send opens the user's mail client; Edit toggles inline edit and Save persists; Reuse clones into a new email; copy-link / Twitter / WhatsApp share buttons work.
  • /profile — rows render, click opens the email; header search filters the list.
  • /login and /register cards render and submit successfully.
  • Logged-out user visiting /profile redirects to /login.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
2clickmail Ready Ready Preview, Comment Apr 29, 2026 7:37pm

alpaylan and others added 2 commits April 29, 2026 15:28
Reskin the app around Gmail's chrome — top bar with search, left
rail with the iconic light-blue Compose pill, opened-message and
inbox-list views — while keeping the IA honest (My Emails / About,
not fake folders).

- theme: Gmail palette, Google Sans typography, rounded buttons
- layout: top app bar + collapsible left rail replacing navbar/footer
- profile: Gmail inbox-style row list with hover, search filter
- generate: compose card with To/Cc/Bcc rows and Send pill
- email: opened-conversation view with avatar, recipient chips,
  Send / Edit / Reuse buttons and share icons
- login/register: Google sign-in style cards
- about: settings-panel style

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- pin engines.node to 24.x so Vercel uses the right runtime
- bump @types/node to ^24.0.0
- add .nvmrc for local development

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Theme shape.borderRadius is 16, so sx={{ borderRadius: 4 }} was
multiplying to 64px on the main content Box and the auth Paper
cards — large enough to clip text near the corners. Use explicit
pixel values matching Gmail's panel (16px) and auth card (8px).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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