Redesign book interior: Illuminated Nocturne aesthetic

Replaces Georgia + per-story color theming with a unified premium
fairytale look: Cormorant Garamond (display/titles) + Lora (body),
warm cream text pages (#faf8f2 with paper noise texture), deep ink
typography (#1e1b18) throughout — no per-story text color variation.

- fonts/: committed WOFF2 files via @fontsource packages; auto-copied
  by scripts/setup-fonts.js (runs as postinstall)
- Typography: story number in small caps, hairline rule, ❧ ornament
- Layout: cream background replaces per-story bg, radial glow on title
- build.js: passes frontMatter (author, year) to templates
- Templates: author byline on title page, cleaner imprint page

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-03 18:39:42 +02:00
parent fa1a133f94
commit 87a3925c3e
18 changed files with 292 additions and 125 deletions
+7 -1
View File
@@ -4,6 +4,8 @@
"private": true,
"type": "module",
"scripts": {
"postinstall": "node scripts/setup-fonts.js",
"setup-fonts": "node scripts/setup-fonts.js",
"build": "node scripts/build.js",
"pdf": "node scripts/pdf.js",
"cover": "node scripts/cover.js",
@@ -12,9 +14,13 @@
"watch": "node --watch scripts/build.js"
},
"pnpm": {
"onlyBuiltDependencies": ["puppeteer"]
"onlyBuiltDependencies": [
"puppeteer"
]
},
"dependencies": {
"@fontsource/cormorant-garamond": "^5.2.11",
"@fontsource/lora": "^5.2.8",
"gray-matter": "^4.0.3",
"marked": "^12.0.0",
"nunjucks": "^3.2.4",