mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
f6b64318d9
Upgrades the docs to `@vercel/geistdocs@1.16.0`. - Bump `@vercel/geistdocs` 1.15.5 → 1.16.0 - Drop the removed `config` prop from `<Footer />` (1.16.0 replaces the footer with the Vercel product directory and no longer accepts props) - Load Geist Sans from the `geist` npm package so the new `ss11` stylistic set (alternate "I") renders — Google Fonts strips it
16 lines
589 B
TypeScript
16 lines
589 B
TypeScript
import { GeistSans } from "geist/font/sans";
|
|
import { Geist_Mono as createMono } from "next/font/google";
|
|
|
|
// 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",
|
|
subsets: ["latin"],
|
|
weight: "variable",
|
|
display: "swap",
|
|
});
|