Rebuild LokiLoto in the LokiLab visual universe

The hero and header used a hand-drawn geometric fox and flat grey
surfaces; the user asked for LokiLab's look. Brings over LokiLab's real
illustrated assets (Loki mascots, observatory/workshop backgrounds,
ornaments, the horned-gem mark) and its palette and type: midnight
#101827, brass gold, mint gem, ivory text, Fraunces display + Inter.
The hero now sits on the observatory scene with the waving Loki
illustration; --primary is brand gold, --success is mint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Nazim Kri
2026-10-30 09:25:04 -04:00
co-authored by Claude Opus 5.5
parent 8a45c331c3
commit 2eafbfd3d7
91 changed files with 114 additions and 144 deletions
+31 -26
View File
@@ -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);
+8 -13
View File
@@ -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 (
<html
lang="fr"
className={`dark ${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<html lang="fr" className={`dark ${inter.variable} ${fraunces.variable} h-full antialiased`}>
<body className="min-h-full flex flex-col">{children}</body>
</html>
);