Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,12 @@
--color-accent-dim: var(--accent-dim);
--color-border: var(--border);
--color-error: var(--error);
/* Two-font system: serif for content, sans-serif for UI */
/* REVERT POINT: To revert typography, restore all --font-* and --default-font-family
to use --font-lora instead of --font-inter for UI lines below */
--font-heading: var(--font-lora), "Lora", Georgia, "Times New Roman", serif;
--font-body: var(--font-lora), "Lora", Georgia, "Times New Roman", serif;
--font-ui: var(--font-inter), "Inter", system-ui, -apple-system, sans-serif;
--default-font-family: var(--font-lora), "Lora", Georgia, "Times New Roman", serif;
--default-font-feature-settings: normal;
--default-font-variation-settings: normal;
Expand All @@ -42,6 +46,12 @@ h1, h2, h3, h4, h5, h6 {
font-family: var(--font-lora), "Lora", Georgia, "Times New Roman", serif;
}

/* UI elements: sans-serif (Inter) for navigation, controls, labels */
nav, footer, button, input, select, textarea, label,
.font-ui {
font-family: var(--font-ui);
}

/* Monospace elements: addresses, code blocks, contract data */
code, pre, .font-mono {
font-family: var(--font-geist-mono), "Geist Mono", ui-monospace, monospace;
Expand Down
9 changes: 7 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Metadata } from "next";
import { Lora, Geist_Mono } from "next/font/google";
import { Lora, Inter, Geist_Mono } from "next/font/google";
import { Providers } from "./providers";
import { NavBar } from "../components/NavBar";
import { Footer } from "../components/Footer";
Expand All @@ -11,6 +11,11 @@ const lora = Lora({
subsets: ["latin"],
});

const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});

const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
Expand Down Expand Up @@ -39,7 +44,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body className={`${lora.variable} ${geistMono.variable} antialiased`}>
<body className={`${lora.variable} ${inter.variable} ${geistMono.variable} antialiased`}>
<Providers>
<FarcasterMiniApp />
<NavBar />
Expand Down
Loading