diff --git a/frontend/app/globals.css b/frontend/app/globals.css index cc6da71..517decd 100644 --- a/frontend/app/globals.css +++ b/frontend/app/globals.css @@ -1,14 +1,31 @@ @import "tailwindcss"; +/* Brand palette (docs/brand): warm ink + bronze + paper. */ +@theme { + --color-bronze: #a06a42; + --color-bronze-deep: #8a5836; + --color-paper: #f7f3ec; + --color-ink: #1a1a17; + + --font-serif: Georgia, "Times New Roman", "Liberation Serif", ui-serif, serif; +} + +/* Adaptive tokens (ink/paper flip for light/dark; bronze + paper are constant). */ :root { - --background: #ffffff; - --foreground: #0a0a0a; + --background: #f7f3ec; /* paper */ + --foreground: #1a1a17; /* ink */ + --muted: #6b6862; + --surface: #fbf8f2; + --border: #e4dccb; } @media (prefers-color-scheme: dark) { :root { - --background: #0a0a0a; - --foreground: #ededed; + --background: #1a1a17; /* warm near-black */ + --foreground: #f2eee6; /* warm off-white */ + --muted: #9a968e; + --surface: #232019; + --border: #3a352c; } } @@ -17,3 +34,11 @@ body { color: var(--foreground); font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; } + +/* Headings use the heritage serif register. */ +h1, +h2, +h3, +.font-serif { + font-family: var(--font-serif); +} diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx index a49acdb..6c97fc7 100644 --- a/frontend/app/layout.tsx +++ b/frontend/app/layout.tsx @@ -6,28 +6,35 @@ import "./globals.css"; export const metadata: Metadata = { title: "Provenance", description: "Where it came from matters — family and land, every fact sourced.", + icons: { icon: "/favicon.svg" }, }; export default function RootLayout({ children }: { children: React.ReactNode }) { return ( -
-+
No account?{" "} - + Create one
diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index cf2db05..e30ed1b 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -4,15 +4,17 @@ import { Button } from "@/components/ui/button"; export default function Home() { return ( -- Trace where you come from — your family and your land — with every fact linked to a - source, on infrastructure you control. +
+ Trace where you come from — your family and your + land — with every fact linked to a source, on infrastructure you control.
+
Already have an account?{" "} - + Sign in
diff --git a/frontend/app/trees/[id]/page.tsx b/frontend/app/trees/[id]/page.tsx index 7723848..cf3f2db 100644 --- a/frontend/app/trees/[id]/page.tsx +++ b/frontend/app/trees/[id]/page.tsx @@ -52,11 +52,11 @@ export default function TreeDetailPage() { } } - if (!ready) returnLoading…
; + if (!ready) returnLoading…
; return (No people yet.
+No people yet.
) : (Loading…
; + if (!ready) returnLoading…
; return (No trees yet — create your first one above.
+No trees yet — create your first one above.
) : (