You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rewrite documentHtml to a restrained, print-first GST layout: hairline table rules, tabular money aligned to the paisa, a single accent driving every structural color (letterhead rule, title, table-header rule + color-mix tint, docmeta edge, amount-in-words edge, filled grand-total band). Add optional template.accent setting (validated hex-or-fallback #334155 slate-indigo) read from the settings map and interpolated only after validation, so a raw setting string can never be injected into the CSS. print-color-adjust:exact so the accent tint and grand-total fill survive puppeteer. DRAFT stays: accent chip in docmeta + optional watermark for un-issued docs. lineRow/totalsRows untouched; @media screen paper + @page 14mm preserved; renderer stays one pure function so preview===pdf identity holds. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
1 week ago | |
|---|---|---|
| .. | ||
| fixtures | 2 weeks ago | |
| amc.test.ts | 2 weeks ago | |
| auth.test.ts | 2 weeks ago | |
| aws-costs.test.ts | 2 weeks ago | |
| aws-pull-route.test.ts | 2 weeks ago | |
| aws-repo.test.ts | 2 weeks ago | |
| bounces.test.ts | 2 weeks ago | |
| client-modules.test.ts | 2 weeks ago | |
| clients.test.ts | 2 weeks ago | |
| dashboard.test.ts | 2 weeks ago | |
| db.test.ts | 2 weeks ago | |
| documents.test.ts | 2 weeks ago | |
| e2e.test.ts | 2 weeks ago | |
| gmail-connect.test.ts | 2 weeks ago | |
| gmail.test.ts | 2 weeks ago | |
| health.test.ts | 2 weeks ago | |
| hq2-schema.test.ts | 2 weeks ago | |
| hq3-schema.test.ts | 2 weeks ago | |
| import.test.ts | 2 weeks ago | |
| interactions.test.ts | 2 weeks ago | |
| isolation.test.ts | 2 weeks ago | |
| modules.test.ts | 2 weeks ago | |
| payments.test.ts | 2 weeks ago | |
| prepare-draft.test.ts | 1 week ago | |
| preview-fidelity.test.ts | 1 week ago | |
| preview-route.test.ts | 1 week ago | |
| preview-sample.test.ts | 1 week ago | |
| receipt.test.ts | 2 weeks ago | |
| recurring.test.ts | 2 weeks ago | |
| reminder-preview.test.ts | 1 week ago | |
| reminders.test.ts | 2 weeks ago | |
| reports.test.ts | 2 weeks ago | |
| scheduler-recurring.test.ts | 2 weeks ago | |
| scheduler-scan.test.ts | 2 weeks ago | |
| send-reminder.test.ts | 2 weeks ago | |
| series.test.ts | 2 weeks ago | |
| settings-company.test.ts | 2 weeks ago | |
| settings-template.test.ts | 1 week ago | |
| template-accent.test.ts | 1 week ago | |
| template-render.test.ts | 1 week ago | |
| templates.test.ts | 2 weeks ago | |