KDP generates and places the ISBN barcode automatically during upload;
a manual white box in the PDF conflicts with that process.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
25 occurrences in DOSSIER.md and 1 in templates/cover.html.
HTML attribute quotes left untouched.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Overlay was sized to var(--trim-w) like the old artwork, leaving the
right 0.125 in strip of the zone undarked. Changed to width/height 100%.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Image was sized to trim-w (8.5 in) but the zone is trim-w + bleed
(8.625 in), leaving a 0.125 in uncovered strip. width/height 100%
fills the full zone, matching how back-artwork is sized.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
object-fit: cover on <img> requires explicit dimensions; inset:0 alone
does not force the element size in Chromium. Mirrors the same approach
already used for .front-artwork.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Inserts a .front-overlay div (shown only when frontImage is present)
with a radial vignette + linear tint that darkens the image behind the
title/subtitle/author without obscuring the artwork. Also strengthens
text-shadow on all three text elements and bumps their opacity slightly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces Georgia with Cormorant Garamond (display, 300 italic) + Lora
(body) across all cover text. Adds @font-face declarations pointing to
fonts/ (same as interior). Updates gold tokens to match interior palette.
Visual changes: front title in Cormorant light italic with gold gradient
rule below, ❧ ornament replacing ✦, synopsis body in Lora.
cover.js now reads 00-front-matter.md to inject author name into spine,
front, and removes the [AUTOR] placeholder.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Guides (trim/safe-zone/spine lines) are design references only and
must not appear in the submitted PDF — hidden via display:none.
Barcode placeholder is now an empty white box so KDP can place the
ISBN barcode automatically without printing a label.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
scripts/cover.js computes the exact cover canvas dimensions from the
page count in book-meta.json (written by build.js), using the KDP
Premium Color spine formula (0.002347 in/page), and renders a
Nunjucks template to a single PDF containing back cover, spine, and
front cover with bleed (0.125 in) and safe-zone overlay guides.
- `pnpm cover` — generate output/cover.pdf
- `pnpm all` — build interior + both PDFs in one command
- Cover artwork slots: images/cover/front.png, images/cover/back.png
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>