mirror of
https://github.com/hanzoai/papers.git
synced 2026-10-22 17:20:17 +00:00
The site declared its own faces through next/font/google and pointed --font-sans/--font-mono at them, which put a third-party family on a Hanzo surface and made every first visit a render-blocking request to a host we do not control. @hanzo/design/tokens/fonts.css already declares Zen and Zen Mono as @font-face and fills those two token names. Importing it unlayered outranks Tailwind's own @layer theme defaults for the same names, so the contract the components read is unchanged and the faces now ship with the build. Form controls and code/pre are stated explicitly: neither inherits the family from body, so both were drawing in a UA face.
31 lines
720 B
JSON
31 lines
720 B
JSON
{
|
|
"name": "@hanzoai/papers-site",
|
|
"version": "1.0.0",
|
|
"description": "Hanzo AI research papers - papers.hanzo.ai",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/design": "^0.5.21",
|
|
"clsx": "^2.1.1",
|
|
"lucide-react": "^0.475.0",
|
|
"next": "^16.0.0",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.12.0",
|
|
"@types/react": "^19.1.0",
|
|
"@types/react-dom": "^19.1.0",
|
|
"typescript": "^5.8.0",
|
|
"tailwindcss": "^4.1.0",
|
|
"@tailwindcss/postcss": "^4.1.0",
|
|
"postcss": "^8.5.0"
|
|
}
|
|
}
|