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
3 changes: 2 additions & 1 deletion apps/docs/app/[lang]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { i18n } from '@/lib/i18n'
import { serializeJsonLd } from '@/lib/json-ld'
import { source } from '@/lib/source'
import { DOCS_BASE_URL } from '@/lib/urls'
import { season } from '@/app/fonts/season'
import '../global.css'

const inter = Inter({
Expand Down Expand Up @@ -84,7 +85,7 @@ export default async function Layout({ children, params }: LayoutProps) {
return (
<html
lang={lang}
className={`${inter.variable} ${geistMono.variable}`}
className={`${inter.variable} ${geistMono.variable} ${season.variable}`}
suppressHydrationWarning
>
<head>
Expand Down
Binary file added apps/docs/app/fonts/SeasonSansUprightsVF.woff2
Binary file not shown.
16 changes: 16 additions & 0 deletions apps/docs/app/fonts/season.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import localFont from 'next/font/local'

/**
* Season Sans variable font — the platform's UI font, mirrored from
* `apps/sim/app/_styles/fonts/season/season.ts` so docs chip chrome renders
* with the same typeface as the main app. Variable font supports weights
* 300-800.
*/
export const season = localFont({
src: [{ path: './SeasonSansUprightsVF.woff2', weight: '300 800', style: 'normal' }],
display: 'swap',
preload: true,
variable: '--font-season',
fallback: ['system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans'],
adjustFontFallback: 'Arial',
})
Loading
Loading