Skip to content

feat(onboarding): add light mode support and contrast calibration - #70

Merged
Maseeek merged 1 commit into
mainfrom
feat/light-mode-onboarding
Oct 15, 2026
Merged

Maseeek merged 1 commit into
mainfrom
feat/light-mode-onboarding

Conversation

@Maseeek

@Maseeek Maseeek commented Oct 14, 2026

Copy link
Copy Markdown
Owner

Summary

This pull request brings comprehensive Light Mode support and intelligent contrast calibration across the entire onboarding and desktop welcome experience:

  • DesktopWelcomePage ():

    • Full dual-mode support for both light (#f8f9fa) and dark (#08090a) surfaces.
    • Interactive Sun/Moon theme toggle in the desktop navigation bar that synchronizes directly with document.documentElement.classList and localStorage.getItem('theme_preference').
    • High-contrast typography and subtle outer borders on white card wells to prevent border washouts.
    • Added interactive FAQ accordion, Domain Architecture tabs, Anti-Freemium manifesto, and direct Stripe billing checkout integration.
  • ParitySimulator ():

    • Completely adapted for light mode with balanced bg-white dark:bg-zinc-950 containers, crisp border-zinc-200 dark:border-white/10 dividers, and high-visibility status indicators.
    • Clear contrast for Player A & B habit lists, 240 Par progress bar gauges, Sunday stake delta metrics, and telemetry badges.
    • Fixed duplicate helper definition and ensured spotless type safety.
  • OnboardingFlow ():

    • All 5 steps (The Roster, Habit Parity Calibration, Sunday Stakes, Membership Pass, Duel Launch) now render seamlessly in light mode with crisp accessible form fields, step indicator pills, and elevated button actions.
    • Added accessible modal wrapper with smooth backdrop blur and keyboard navigation (Press 'O' to open, 'Esc' to exit).
  • Testing & Verification:

    • Added unit test suite in src/lib/onboarding-content.test.ts verifying all copy, pricing terms, habit parity rules, and FAQ integrity.
    • All 203 unit and integration tests passing.
    • Production Next.js 16 build (npm run build) validated with static prerendering on /welcome.

…ross onboarding experience

- Implement dual light/dark mode support in DesktopWelcomePage with interactive header theme toggle
- Adapt ParitySimulator for light mode with high-contrast borders, custom status badges, telemetry pills, and habit cards
- Enhance OnboardingFlow 5-step wizard with light theme backgrounds, accessible inputs, and crisp step indicators
- Add comprehensive unit test suite in onboarding-content.test.ts
@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
do-it Ready Ready Preview Oct 14, 2026 10:19pm UTC

@Maseeek
Maseeek merged commit 0c8fa18 into main Oct 15, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 24613be7 Deployed Oct 14, 2026 by vercel[bot]
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