SPB Git forge

spb/countryatlas

Public
20commits 1branches 0releases
268.3 MBsize
maindefault branch
12 days agolast push
TypeScript 57% Python 38.6% JavaScript 3.6% CSS 0.6%
639 B · 10 lines typescript
Raw Blame History
1/**2 * Fonts via next/font/google (self-hosted at build). If the build machine has no network, swap the import in3 * layout.tsx for `./fonts.system` (same exported names, system stack) — the build must never fail on fonts.4 * Newsreader is variable (optical size + weight axes); `axes` is only allowed without an explicit `weight`.5 */6import { Inter, Newsreader } from 'next/font/google';78export const fontUi = Inter({ variable: '--font-ui', subsets: ['latin'], display: 'swap' });9export const fontDisplay = Newsreader({ variable: '--font-display', subsets: ['latin'], display: 'swap', style: ['normal', 'italic'], axes: ['opsz'] });10