```
Use the `light` shades (lightness 0.95-0.97, chroma 0.03-0.04) for a subtle tinted-paper feel, NOT medium or base shades which would be too saturated as backgrounds.
3. Add a gradient text wordmark in the CardHeader (AUTH-02). Replace the `
{t('app.title')}` with a styled wordmark element:
```tsx
{t('app.title')}
```
The gradient goes from --primary hue (260) to a pink-shifted hue (320). Keep `
{t('auth.login')}` as-is above the wordmark.
4. Replace the plain error `
` with a shadcn Alert (AUTH-04):
```tsx
{error && (
{error}
)}
```
5. Add `shadow-lg` to the Card for visual lift against the gradient: ``
**RegisterPage.tsx changes (AUTH-03):**
Apply the identical structural changes as LoginPage:
- Same gradient background wrapper with palette light shades
- Same wordmark element with `data-testid="wordmark"`
- Same Alert destructive for error display
- Same Card shadow-lg
- Keep `{t('auth.register')}` (not login)
- Import palette, Alert, AlertDescription, AlertCircle
Both files should be near-mirrors structurally. The only differences are: CardTitle text, form fields (register has displayName), submit handler, footer link text.
cd /home/jean-luc-makiola/Development/projects/SimpleFinanceDash/frontend && bun vitest run src/pages/ --reporter=verbose && bun run build 2>&1 | tail -5
All 6 test cases pass (4 LoginPage + 2 RegisterPage). Production build succeeds. LoginPage and RegisterPage both render gradient backgrounds, gradient text wordmarks, and Alert-based error displays.
- `cd frontend && bun vitest run src/pages/ --reporter=verbose` -- all tests green
- `cd frontend && bun run build` -- zero errors
- `cd frontend && bun vitest run` -- full suite green (no regressions)
- Login page has a pastel gradient background using palette.ts light shades (not plain white)
- Both auth pages display a gradient text wordmark for the app name
- Auth errors render in a shadcn Alert with destructive variant and AlertCircle icon
- Register page is structurally identical to login in branding treatment
- All new and existing tests pass, production build succeeds