From 46c59ffb11ef97dbcf8a226248479d2308f4b67b Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Mon, 24 Aug 2026 19:51:51 +0000 Subject: [PATCH] feat: add a personal-letter template Same window-envelope geometry as the Form B letter (45mm address field, fold marks), but no info block: a three-line sender block on top and a right-aligned place/date line instead. The gallery thumb swaps the info column for a date line on this card. Positions verified headlessly: return address 44.8mm, recipient 49.8mm, date flush with the right margin. --- .../components/TemplateGalleryDialog.svelte | 9 ++- src/lib/i18n/locales/de.ts | 5 ++ src/lib/i18n/locales/en.ts | 5 ++ src/lib/templates/privateLetter.ts | 66 +++++++++++++++++++ src/lib/templates/registry.ts | 3 +- 5 files changed, 85 insertions(+), 3 deletions(-) create mode 100644 src/lib/templates/privateLetter.ts diff --git a/src/lib/components/TemplateGalleryDialog.svelte b/src/lib/components/TemplateGalleryDialog.svelte index 6772cc6..87be2a7 100644 --- a/src/lib/components/TemplateGalleryDialog.svelte +++ b/src/lib/components/TemplateGalleryDialog.svelte @@ -42,10 +42,14 @@
{#each TEMPLATES as entry (entry.id)}