From 848f7480a8a034c488bbb6c3a8805fb9bf055022 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sat, 16 May 2026 18:48:32 +0200 Subject: [PATCH] docs(14): UI design contract --- .planning/phases/14-auth-pages/14-UI-SPEC.md | 31 ++++++++++---------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.planning/phases/14-auth-pages/14-UI-SPEC.md b/.planning/phases/14-auth-pages/14-UI-SPEC.md index b9b2812..416a181 100644 --- a/.planning/phases/14-auth-pages/14-UI-SPEC.md +++ b/.planning/phases/14-auth-pages/14-UI-SPEC.md @@ -44,6 +44,8 @@ AuthLayout replaces `@Layout(...)` for both `/login` and `/signup`. It renders a | Card glow | `.card-glow` | `background: var(--gradient-card-glow); border-radius: 1rem; filter: blur(24px); position: absolute; inset: 0; z-index: -1` — decorative only | | Card shell | `.auth-card-shell` | `backdrop-filter: blur(12px); background: var(--color-surface-card); border: 1px solid var(--color-border-default); border-radius: 1rem; box-shadow: var(--shadow-auth-card); padding: 1.25rem; position: relative` | +Note on `.auth-card-shell` padding: `1.25rem` (20px) is ported verbatim from the go-backend reference as a port-fidelity constraint. It is not a design system spacing token and does not appear in the Spacing Scale table. + **Background gradient for `.login-screen`:** use `var(--gradient-shell)` which resolves to: ``` linear-gradient(135deg, var(--overlay-brand-muted), transparent 30%), @@ -59,7 +61,7 @@ This is already defined as a token in `base.css`. Do not hardcode color stops. ``` 1. .auth-card-topbar — (empty in Phase 14; reserved placeholder div, no back-link or theme toggle) 2. .brand-header — logo image: -3. .title-group —

page title +3. .title-group —

page title ← PRIMARY VISUAL ANCHOR (brand logo + h1 together) 4. .auth-body — wraps: Google button → divider → form → nav link ├── Google button (.gsi-material-button as or