mirror of
https://github.com/hanzo-apps/gallery.git
synced 2026-10-30 14:48:38 +00:00
The site fetched a third-party family from a font host at build time and
minted a per-build family name that <body> had to carry as a class, while
body itself was pinned to Arial. Two type systems, neither of them ours.
@hanzo/font ships Zen as woff2 in the package; its /css entry is @font-face
plus --font-zen-sans/--font-zen-mono, and globals.css binds those to
--font-sans/--font-mono, which is what Tailwind's utilities already read.
No request leaves the origin.
public/previews/{arch,betacrm-html} are vendored third-party template
samples served as previews; they name their own faces and are left alone.
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "gallery",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"gen-templates-json": "node scripts/gen-templates-json.mjs",
|
|
"prebuild": "node scripts/gen-templates-json.mjs",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"export-templates": "node scripts/export-templates-json.js",
|
|
"build-templates": "npm run export-templates && node scripts/build-all-templates.js",
|
|
"build-template": "node scripts/build-single-template.js",
|
|
"capture-screenshots": "node scripts/capture-all-screenshots.js"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/font": "^1.8.8",
|
|
"@hanzo/logo": "^1.0.2",
|
|
"archiver": "^7.0.1",
|
|
"next": "15.5.6",
|
|
"react": "19.1.0",
|
|
"react-dom": "19.1.0",
|
|
"zod": "^3.25.76"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/archiver": "^6.0.3",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "15.5.6",
|
|
"playwright": "^1.56.1",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|