From c5bd7c2eb0bc6af0ad0cf82a247e6189c9970bc5 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 18:20:27 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/lib/form-templates.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/lib/form-templates.ts b/src/lib/form-templates.ts index c062681..c33493b 100644 --- a/src/lib/form-templates.ts +++ b/src/lib/form-templates.ts @@ -44,6 +44,28 @@ export interface FormTemplateConfig { showCertifiedMail?: boolean; /** Header label for the certified-mail line. */ certifiedMailLabel?: string; + /** Letterhead (header) shown at the top of letters. Lines support `\n` and `{{firm.*}}` tokens. */ + letterhead?: string; + /** Letterhead alignment. */ + letterheadAlign?: "left" | "center" | "right"; + /** Letterhead font size in points. */ + letterheadFontSizePt?: number; + /** Show the firm logo above/with the letterhead. */ + showLogo?: boolean; + /** Logo placement relative to the letterhead text block. */ + logoPosition?: "above-center" | "above-left" | "left" | "right" | "none"; + /** Logo width in points. Height auto-scales to keep aspect ratio. */ + logoWidthPt?: number; + /** Show a horizontal rule below the letterhead. */ + letterheadRule?: boolean; + /** Footer text shown at the bottom of every page. Supports `\n` and `{{firm.*}}` tokens. */ + footer?: string; + /** Footer alignment. */ + footerAlign?: "left" | "center" | "right"; + /** Footer font size in points. */ + footerFontSizePt?: number; + /** Show a horizontal rule above the footer. */ + footerRule?: boolean; } export const FORM_LABELS: Record = {