mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
One family. Font stacks name Zen and fall back to the native faces, tokens name the role rather than a face, and the packages that used to supply a face now point at @hanzo/font. Self-hosted @font-face blocks are removed rather than renamed: rewriting the family in one would leave a src pointing at a file this repo no longer ships. @hanzo/font carries the binaries and declares the faces, so the local copies go with the declaration that used them. Comments naming a face we no longer use are deleted, not reworded.
51 lines
1.1 KiB
TypeScript
51 lines
1.1 KiB
TypeScript
import "./global.css"
|
|
import { RootProvider } from "fumadocs-ui/provider/next"
|
|
import { Inter } from "next/font/google"
|
|
import type { ReactNode } from "react"
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-sans",
|
|
display: "swap",
|
|
})
|
|
|
|
const interMono = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-mono",
|
|
display: "swap",
|
|
})
|
|
|
|
export const metadata = {
|
|
title: {
|
|
default: "Lux EVM Documentation",
|
|
template: "%s | Lux EVM",
|
|
},
|
|
description: "EVM implementation with Lux-specific optimizations",
|
|
}
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
className={`${inter.variable} ${interMono.variable}`}
|
|
suppressHydrationWarning
|
|
>
|
|
<body className="min-h-svh bg-background font-sans antialiased">
|
|
<RootProvider
|
|
search={{
|
|
enabled: true,
|
|
}}
|
|
theme={{
|
|
enabled: true,
|
|
defaultTheme: "dark",
|
|
}}
|
|
>
|
|
<div className="relative flex min-h-svh flex-col bg-background">
|
|
{children}
|
|
</div>
|
|
</RootProvider>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|