Skip to content
Closed
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
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@inrupt/solid-client-authn-browser": "^4.0.0",
"@inrupt/solid-client-authn-node": "^3.1.0",
"@mind-studio/core": "^0.8.0",
"@mind-studio/ui": "^0.4.0",
"@mind-studio/ui": "^0.7.0",
"lucide-react": "^0.460.0",
"next": "16.2.6",
"react": "19.2.4",
Expand Down
6 changes: 4 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 { Geist, Geist_Mono, Space_Grotesk } from "next/font/google";
import { Fraunces, Geist, Geist_Mono, Space_Grotesk } from "next/font/google";
import { headers } from "next/headers";
import { Providers } from "@/components/Providers";
import { profile } from "@/lib/profile";
Expand All @@ -9,6 +9,8 @@ import "./globals.css";
const display = Space_Grotesk({ subsets: ["latin"], variable: "--font-display-var" });
const sans = Geist({ subsets: ["latin"], variable: "--font-sans-var" });
const mono = Geist_Mono({ subsets: ["latin"], variable: "--font-mono-var" });
// Serif for ui 0.7.0's h1–h3 rule, which resolves to --font-fraunces.
const serif = Fraunces({ subsets: ["latin"], variable: "--font-fraunces", display: "swap" });

// Host-resolved per-project metadata: the document title/description reflect the
// project of the subdomain being served (one image, many projects in subdomain
Expand All @@ -26,7 +28,7 @@ export default function RootLayout({ children }: Readonly<{ children: React.Reac
return (
<html
lang={profile.locale}
className={`dark ${display.variable} ${sans.variable} ${mono.variable}`}
className={`dark ${display.variable} ${sans.variable} ${mono.variable} ${serif.variable}`}
suppressHydrationWarning
>
<body className="font-sans antialiased">
Expand Down
3 changes: 3 additions & 0 deletions src/lib/theme/emai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ export const emai: Theme = parseTheme(
radius: "0.5rem",
font: {
sans: "var(--font-sans-var), ui-sans-serif, system-ui, sans-serif",
// ui 0.7.0 maps h1–h3 → --mind-font-serif; keep the fleet Fraunces stack.
serif:
'var(--font-fraunces), "Fraunces", ui-serif, Georgia, Cambria, "Times New Roman", serif',
mono: "var(--font-mono-var), ui-monospace, SFMono-Regular, monospace",
},
logo: {
Expand Down
Loading