Phase 0: scaffold Next.js, Tailwind tokens, Supabase clients, env validation

Next.js 16 App Router with strict TypeScript, Tailwind 4 theme tokens from
docs/UI.md, Vitest, and the three Supabase clients. Env vars are validated
with zod in next.config.ts so dev and build fail fast with a readable error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 12:27:11 +02:00
co-authored by Claude Opus 5.5
commit c89a82295b
29 changed files with 9107 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
@import "tailwindcss";
/* Design tokens from docs/UI.md. */
:root {
--stage: #1b1640;
--floodlight: #ffd23f;
--chalk: #f5f7fa;
--ink: #14213d;
--signal: #2ec4b6;
--alert: #e63946;
}
/* Expose the tokens as Tailwind utilities: bg-stage, text-ink, font-display, ... */
@theme inline {
--color-stage: var(--stage);
--color-floodlight: var(--floodlight);
--color-chalk: var(--chalk);
--color-ink: var(--ink);
--color-signal: var(--signal);
--color-alert: var(--alert);
--font-display: var(--font-big-shoulders), ui-sans-serif, system-ui, sans-serif;
--font-sans: var(--font-atkinson), ui-sans-serif, system-ui, sans-serif;
}
body {
background: var(--chalk);
color: var(--ink);
}
:focus-visible {
outline: 3px solid var(--ink);
outline-offset: 2px;
}