diff --git a/README.md b/README.md index 41f1739..e4dada7 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ ArcaSuite/ ├── secrets/ # chiavi, token (gitignored) ├── docker/ # base.Dockerfile condiviso multi-stage ├── gateway/ # Caddy reverse proxy (Caddyfile) -├── themes/ # CSS condivisi (Tielogic DEVNOTES per md-to-pdf) +├── themes/ # CSS condivisi (theme Tielogic unico per md-to-pdf, copre report e offerte) ├── docker-compose.yml # stack completo (gateway + servizi MCP) ├── pyproject.toml # workspace uv + ruff + pytest root ├── .env.example # config root stack @@ -88,7 +88,7 @@ Template attualmente disponibili: Per propagare modifiche al template versionato su un'installazione esistente: usare il tool MCP `template_update`, oppure rimuovere il template dal volume e fare restart del container. -Conversione Markdown→PDF (in attesa di `mcp-convert`): `md-to-pdf .md` con il CSS `themes/tielogic-devnotes.css` referenziato dal frontmatter dei template. +Conversione Markdown→PDF (in attesa di `mcp-convert`): `md-to-pdf .md` con il CSS `themes/tielogic.css` referenziato dal frontmatter dei template. ## Remote diff --git a/services/mcp-docugen/templates_seed/offerta/template.md b/services/mcp-docugen/templates_seed/offerta/template.md index 9ce4f34..33f4427 100644 --- a/services/mcp-docugen/templates_seed/offerta/template.md +++ b/services/mcp-docugen/templates_seed/offerta/template.md @@ -39,7 +39,7 @@ Italiano formale, terza persona impersonale, tono professionale ma asciutto. Nie ``` --- -stylesheet: /home/adriano/Documenti/Git_XYZ/ArcaSuite/themes/tielogic-devnotes.css +stylesheet: /home/adriano/Documenti/Git_XYZ/ArcaSuite/themes/tielogic.css pdf_options: format: A4 margin: diff --git a/services/mcp-docugen/templates_seed/report-analisi/template.md b/services/mcp-docugen/templates_seed/report-analisi/template.md index c02e50f..ff69030 100644 --- a/services/mcp-docugen/templates_seed/report-analisi/template.md +++ b/services/mcp-docugen/templates_seed/report-analisi/template.md @@ -51,7 +51,7 @@ Il documento DEVE iniziare con questo YAML frontmatter compatibile `md-to-pdf` ( ``` --- -stylesheet: /home/adriano/Documenti/Git_XYZ/ArcaSuite/themes/tielogic-devnotes.css +stylesheet: /home/adriano/Documenti/Git_XYZ/ArcaSuite/themes/tielogic.css pdf_options: format: A4 margin: diff --git a/themes/tielogic-devnotes.css b/themes/tielogic.css similarity index 91% rename from themes/tielogic-devnotes.css rename to themes/tielogic.css index 8db10e6..0d5d8a6 100644 --- a/themes/tielogic-devnotes.css +++ b/themes/tielogic.css @@ -1,4 +1,16 @@ -/* Tielogic — A4 portrait theme (cover bianca stile offerta + DEVNOTES interno) */ +/* Tielogic — A4 portrait theme (unico) + * + * Copre due famiglie di documento con la stessa identità visiva: + * 1. Report tecnico stile DEVNOTES (template "report-analisi") + * classi: .status-card, .badge-{ok,parziale,drift,fail}, blockquote + * 2. Offerta economica stile docx Tielogic (template "offerta") + * classi: table.financial, tr.total-row, td.num + * + * Classi comuni: .cover (logo TIELOGIC + box FORNITORE/CLIENTE), + * .acceptance + .signature-grid (firme), badge generici impatto/verdetto. + * + * Riferito dal frontmatter dei template via `stylesheet:` (md-to-pdf). + */ @page { size: A4 portrait;