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
2 changes: 1 addition & 1 deletion apps/docs/app/[lang]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Layout = async ({ children, params }: LayoutProps<"/[lang]">) => {
<GeistdocsProvider basePath={config.basePath} lang={lang}>
<Navbar config={config} />
{children}
<Footer config={config} />
<Footer />
</GeistdocsProvider>
</body>
</html>
Expand Down
4 changes: 4 additions & 0 deletions apps/docs/app/styles/geistdocs.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
}

:root {
/* Geist Sans is loaded from the `geist` npm package, which exposes the
`--font-geist-sans` variable. Alias it so `font-sans`/`--font-sans`
resolves to it. */
--font-sans: var(--font-geist-sans);
--radius: 0.625rem;
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
Expand Down
17 changes: 7 additions & 10 deletions apps/docs/lib/geistdocs/fonts.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import {
Geist_Mono as createMono,
Geist as createSans,
} from "next/font/google";
import { GeistSans } from "geist/font/sans";
import { Geist_Mono as createMono } from "next/font/google";

export const sans = createSans({
variable: "--font-sans",
subsets: ["latin"],
weight: "variable",
display: "swap",
});
// Geist Sans is loaded from the `geist` npm package (local woff2) rather than
// Google Fonts so the full font-feature-settings — e.g. the `ss11` alternate
// "I" enabled in the geistdocs theme — are available. The package hardcodes the
// `--font-geist-sans` variable; it's aliased to `--font-sans` in geistdocs.css.
export const sans = GeistSans;

export const mono = createMono({
variable: "--font-mono",
Expand Down
3 changes: 2 additions & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@
"@streamdown/code": "^1.0.3",
"@vercel/analytics": "^1.6.1",
"@vercel/edge-config": "^1.4.3",
"@vercel/geistdocs": "1.15.5",
"@vercel/geistdocs": "1.16.0",
"@vercel/speed-insights": "^1.3.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"feed": "^5.1.0",
"fumadocs-core": "16.2.2",
"fumadocs-mdx": "14.0.4",
"fumadocs-ui": "16.2.2",
"geist": "^1.7.1",
"lucide-react": "^0.555.0",
"motion": "^12.23.25",
"next": "16.2.6",
Expand Down
22 changes: 17 additions & 5 deletions pnpm-lock.yaml

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