Centre de notifications Harbor — dropdown et page complete
Warm neutrals facon carnet papier, encre douce, chaleureux et feutre
Copie le prompt dans le presse-papier, sans quitter la page.
CONTEXT & GOAL
Build the authentication screens — login and signup — for Solstice, a habit-tracking app focused on gentle wellness routines (sleep, hydration, morning walks). Audience: consumers who abandon signups at the slightest friction, so validation must guide, never scold. The signature idea: the background is a dawn gradient that starts in deep pre-sunrise indigo and literally brightens toward warm morning light as each form field becomes valid — completing the form feels like the sun coming up.
ART DIRECTION
Soft, luminous, calm: rounded corners everywhere, pastel light surfaces floating on the dawn gradient, zero harsh reds (errors are a warm coral, worded kindly). References: Headspace's approachability, Apple Health's clarity, gradient-driven onboarding from Calm. What distinguishes it from a generic centered-card login is the responsive dawn backdrop and the microcopy voice: every error message suggests the fix rather than declaring failure.
COLOR SYSTEM
Dawn gradient stops (animated between validity states): state 0 (empty form) #1E2749 to #3A3D6B; state mid #4A4E8C to #C4789B; state complete #F7B267 to #FDE8CD. Card surface: rgba(255,255,255,0.92), backdrop blur 12px. Text primary: #2B2B45. Text secondary: #6E6E8C. Input border default: #D8D8E8, focused: #7C6FDE, valid: #5CB585, error: #E8735A. Input background: #FFFFFF. Primary button: #7C6FDE, hover #6A5DD0, active #5A4EC0, disabled #C9C4EE with text #8B85C4. Error text: #C4472E (7:1 on white). Success check: #3E8E63. Link text: #7C6FDE, hover underline. Password strength gauge: weak #E8735A, medium #F7B267, strong #5CB585.
TYPOGRAPHY
Headings in Sora, 28px/34px weight 600 ("Welcome back" / "Start your first streak"). Subheading Sora 15px/22px weight 400 color #6E6E8C. Input labels Inter 13px/18px weight 500. Input text Inter 16px/24px weight 400 (16px minimum to avoid iOS zoom). Helper/error text Inter 12px/17px weight 400. Button label Inter 15px weight 600. Divider label ("or continue with") Inter 12px weight 500, uppercase, letter-spacing 0.06em.
LAYOUT & GRID
Full-viewport gradient background; auth card 420px max-width, centered vertically and horizontally, 32px internal padding, 24px border radius. Field stack with 20px gaps, button full-width at 48px height, OAuth buttons in a 2-column row with 12px gap. Mobile (under 480px): card becomes full-width with 20px side margins, gradient still visible top and bottom; the card never exceeds viewport height — it scrolls internally if the keyboard is up. Tablet/desktop identical since the card is fixed-width.
SECTIONS & COMPONENTS
Login form: email field, password field with a show/hide eye toggle (aria-pressed), "Forgot password?" link right-aligned under the password field, primary button "Sign in", divider, OAuth buttons "Continue with Google" and "Continue with Apple" with 18px brand glyphs, footer line "New to Solstice? Create an account" toggling to signup. Signup form: name, email, password with a 3-segment strength gauge below labeled "Weak / Getting there / Strong", checkbox "Send me a weekly reflection email" (unchecked by default), primary button "Create account". Inline validation triggers on blur first, then on every keystroke once a field has been touched: valid fields get a #5CB585 border plus an animated stroke-drawn checkmark inside the field's right edge; each validated field advances the dawn gradient one step. Error examples with real copy — email: "Hmm, that email looks incomplete. Did you mean priya@gmail.com?"; password too short: "Almost — 8 characters keeps your streaks safe." Field states: default #D8D8E8 border, hover #C4C4DC, focus-visible 2px #7C6FDE ring with 2px offset, error border #E8735A with the message below in #C4472E, disabled fields at 50% opacity. Submit button states: default, hover with a 2px lift, active pressed flat, loading replaces the label with three pulsing dots and sets aria-busy, disabled until the form is valid. Server error banner: slides down above the form, "We couldn't sign you in — check your password or reset it", coral background #FDEDE8, with a "Reset password" inline link. Empty state nuance: the very first focus on an empty form floats the heading up 4px to subtly acknowledge the user started.
MOTION
Dawn gradient transition: background-position and color stops interpolate over 900ms cubic-bezier(0.4,0,0.2,1) per validity step — slow enough to feel like light changing, never flashy. Error shake: invalid submit shakes the offending field horizontally, keyframes 0/-6/5/-3/0 px over 320ms ease-out, fired once. Checkmark draw: SVG stroke-dashoffset animates over 300ms ease-out on field validation. Strength gauge: segments fill with a 150ms stagger, 200ms each, ease-out. Login/signup crossfade: outgoing form fades and slides -8px, incoming fades and slides from +8px, 250ms total with a 50ms overlap. Button loading dots: opacity pulse staggered 120ms, looping at 900ms. Reduced motion: gradient becomes a static mid-state, shake is replaced by a 2px border pulse, all slides become plain 150ms opacity fades.
TECH & QUALITY
React 18, React Hook Form with a Zod schema for validation logic, Tailwind CSS v4, Framer Motion for the crossfade and gradient interpolation (animate CSS custom properties). Files: AuthCard.tsx, LoginForm.tsx, SignupForm.tsx, DawnBackdrop.tsx, PasswordStrength.tsx. All inputs have programmatically associated labels, error messages are linked via aria-describedby and announced via aria-live="polite", the password toggle is a button with an accessible name. Contrast: #2B2B45 on white is 12.6:1; error text #C4472E on white passes 7:1. The whole flow is keyboard-completable; focus order follows the visual order.Ecrans de connexion et d'inscription pour Solstice, application de suivi d'habitudes bien-etre, avec validation inline en temps reel. Idee signature : un degrade d'aube en arriere-plan qui s'eclaircit progressivement a mesure que les champs du formulaire deviennent valides, recompensant visuellement la progression.
Pastel doux et lumineux, degrade d'aube, arrondis genereux, ambiance apaisante
Force : le dégradé d'aube qui s'éclaircit à mesure que le formulaire devient valide est une idée signature originale et cohérente avec le positionnement bien-être de Solstice. Faiblesse : aucune, la microcopie d'erreur et les états sont exemplaires. Prêt à l'emploi.
Warm neutrals facon carnet papier, encre douce, chaleureux et feutre
Light neutre dense façon Vercel, blanc cassé, noir doux, vert émeraude en accent, précision d'outil pro.
Encre sur papier chaud, calligraphique et humain, loin du chat SaaS froid