Files
supabase/apps/studio/pages/_document.tsx
Francesco Sansalvadore 33dc3c1f1c feat(studio): fonts (#47306)
Update studio fonts:
- Headings: Manrope
- Sans-serif: Inter

Slightly reduced font-sizes by 1px (or 2 for bigger font-sizes) and
increased base html font-weight to 450 for better rendering and
legibility.
2026-07-01 13:11:46 +02:00

26 lines
600 B
TypeScript

import Document, { DocumentContext, Head, Html, Main, NextScript } from 'next/document'
import { inter, manrope, sourceCodePro } from '@/fonts'
class MyDocument extends Document {
static async getInitialProps(ctx: DocumentContext) {
const initialProps = await Document.getInitialProps(ctx)
return initialProps
}
render() {
return (
<Html lang="en">
<Head />
<body className={`${inter.variable} ${manrope.variable} ${sourceCodePro.variable}`}>
<Main />
<NextScript />
</body>
</Html>
)
}
}
export default MyDocument