diff --git a/.gitignore b/.gitignore index 5ef6a52..a84cded 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts +.gstack/ diff --git a/app/globals.css b/app/globals.css index c2b447d..98e2c3c 100644 --- a/app/globals.css +++ b/app/globals.css @@ -9,7 +9,11 @@ --color-foreground: var(--foreground); --font-sans: var(--font-sans); --font-mono: var(--font-geist-mono); - --font-heading: var(--font-sans); + --font-heading: var(--font-fraunces), Georgia, serif; + --font-display: var(--font-fraunces), Georgia, serif; + --color-gold: var(--gold); + --color-gold-light: var(--gold-light); + --color-mint: var(--mint); --color-sidebar-ring: var(--sidebar-ring); --color-sidebar-border: var(--sidebar-border); --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); @@ -90,32 +94,33 @@ } .dark { - --background: oklch(0.183 0.031 263.4); - --foreground: oklch(0.969 0.007 260.7); - --card: oklch(0.229 0.037 257.2); - --card-foreground: oklch(0.969 0.007 260.7); - --popover: oklch(0.266 0.043 255.9); - --popover-foreground: oklch(0.969 0.007 260.7); - /* --primary stays neutral — never tied to the country accent, so generic - shadcn controls (menu hover, focus states) don't inherit a country's - color as if it meant something semantically. */ - --primary: oklch(0.969 0.007 260.7); - --primary-foreground: oklch(0.183 0.031 263.4); - --secondary: oklch(0.317 0.050 254.8); - --secondary-foreground: oklch(0.969 0.007 260.7); - --muted: oklch(0.266 0.043 255.9); - --muted-foreground: oklch(0.774 0.033 255.6); - --accent-foreground: oklch(0.969 0.007 260.7); - /* --success is the one stable "won/matched" color across every country — - never derived from --accent, so a win doesn't change color by country. */ - --success: oklch(0.723 0.192 149.6); - --success-foreground: oklch(0.1 0.02 149.6); - --panel: oklch(0.229 0.037 257.2); - --panel-hover: oklch(0.317 0.050 254.8); + /* LokiLab palette: midnight stone, brass gold, mint gem, ivory text. */ + --gold: #f4c76b; + --gold-light: #ffe3a3; + --mint: #55e6b1; + --background: #101827; + --foreground: #f5f2e9; + --card: #17222f; + --card-foreground: #f5f2e9; + --popover: #17222f; + --popover-foreground: #f5f2e9; + /* --primary is the brand gold, never the country accent. */ + --primary: #f4c76b; + --primary-foreground: #101827; + --secondary: #1f2d3d; + --secondary-foreground: #f5f2e9; + --muted: #1f2d3d; + --muted-foreground: #a8b8c8; + --accent-foreground: #f5f2e9; + /* --success is the one stable "won/matched" color across every country. */ + --success: #55e6b1; + --success-foreground: #0b1a14; + --panel: #17222f; + --panel-hover: #1f2d3d; --destructive: oklch(0.704 0.191 22.216); - --border: oklch(0.366 0.051 253.4 / 50%); - --input: oklch(0.366 0.051 253.4 / 60%); - --ring: var(--accent); + --border: rgba(244, 199, 107, 0.16); + --input: rgba(244, 199, 107, 0.22); + --ring: #55e6b1; --chart-1: oklch(0.87 0 0); --chart-2: oklch(0.556 0 0); --chart-3: oklch(0.439 0 0); diff --git a/app/layout.tsx b/app/layout.tsx index e479f7a..cfc1896 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,28 +1,23 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; +import { Inter, Fraunces } from "next/font/google"; import "./globals.css"; -const geistSans = Geist({ - variable: "--font-sans", - subsets: ["latin"], -}); - -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", +const inter = Inter({ subsets: ["latin"], variable: "--font-sans", display: "swap" }); +const fraunces = Fraunces({ subsets: ["latin"], + variable: "--font-fraunces", + display: "swap", + weight: ["500", "600"], }); export const metadata: Metadata = { title: "LokiLoto", - description: "Lottery stats and Loki's picks, country by country.", + description: "Statistiques et pronostics de loterie, pays par pays — l'univers de Loki.", }; export default function RootLayout({ children }: LayoutProps<"/">) { return ( - + {children} ); diff --git a/components/app-header.tsx b/components/app-header.tsx index e550447..8dcde7b 100644 --- a/components/app-header.tsx +++ b/components/app-header.tsx @@ -1,23 +1,25 @@ +import Image from "next/image" import Link from "next/link" import { Suspense } from "react" -import { LokiMark } from "@/components/loki-mark" import { UserMenu } from "@/components/user-menu" import { Skeleton } from "@/components/ui/skeleton" export function AppHeader() { return ( -
-
- - - LokiLoto +
+
+ + + + LokiLoto + -