add avenir

This commit is contained in:
2025-07-09 15:59:31 +02:00
parent 9f27febf70
commit b5d6901f91
5 changed files with 33 additions and 13 deletions

View File

@@ -1,5 +1,4 @@
import { type Metadata } from 'next'
import { Inter } from 'next/font/google'
import clsx from 'clsx'
import '@/styles/tailwind.css'
@@ -13,11 +12,10 @@ export const metadata: Metadata = {
'Most bookkeeping software is accurate, but hard to use. We make the opposite trade-off, and hope you don\'t get audited.',
}
const inter = Inter({
subsets: ['latin'],
display: 'swap',
variable: '--font-inter',
})
// Avenir font configuration with fallbacks
const avenir = {
variable: '--font-avenir',
}
export default function RootLayout({
children,
@@ -29,7 +27,7 @@ export default function RootLayout({
lang="en"
className={clsx(
'h-full scroll-smooth bg-white antialiased',
inter.variable,
avenir.variable,
)}
>
<body className="flex h-full flex-col">{children}</body>