Valantic PDF Generation
When to Use
Activate this skill when the user asks to create a PDF document — reports, whitepapers, proposals, or data sheets — that should follow Valantic branding.
PDF Standards
Page Layout
- Page Size: A4 (210mm × 297mm)
- Margins: Top 25mm, Bottom 20mm, Left 25mm, Right 20mm
- Header: Running header in uppercase, e.g., "WHITEPAPER | TOPIC NAME"
- Footer: Page number right-aligned, optional Valantic logo left
Typography
- Font: Calibre (embed in PDF) with Segoe UI fallback
- H1: Calibre Light (300), 24pt, Coral
#FF5757
- H2: Calibre Light (300), 18pt, Coral
#FF5757
- H3: Calibre Semibold (600), 14pt, Dark
#1A1A1A
- H4: Calibre Semibold (600), 12pt, Dark
#1A1A1A
- Body: Calibre Regular (400), 10pt, Primary
#333333, line-height 1.6
- Pull Quotes: Calibre Regular Italic, 12pt, Coral
#FF5757
Color Usage
- Accent borders on callout boxes: 4pt left border
- Highlight: Coral
#FF5757 with #fff5f5 background
- Info: Blue
#4A9EFF with #f0f8ff background
- Warning: Orange
#FF9800 with #fff8f0 background
- Table headers:
#F8F8F8 background, Semibold text
- Chart primary: Coral, secondary:
#999999
Cover Page
- Top section: Valantic gradient (315°, Coral → Peach)
- Title: White, Calibre Light, 36pt
- Subtitle: White, Calibre Regular, 18pt
- Author/date block below gradient section
Table of Contents
- Section numbers in Coral
- Page numbers right-aligned with dot leaders
- Max 2 levels of nesting
Implementation
Use reportlab or weasyprint for PDF generation:
# ReportLab example
from reportlab.lib.colors import HexColor
CORAL = HexColor('#FF5757')
PURPLE = HexColor('#4C26B7')
PEACH = HexColor('#FFCCAA')
TEXT_PRIMARY = HexColor('#333333')
TEXT_DARK = HexColor('#1A1A1A')
Checklist
1---2name: valantic-pdf3description: Generate branded PDF documents (reports, whitepapers, proposals) following Valantic's Liquid Brand Design with correct colors, typography, and layout.4---56# Valantic PDF Generation78## When to Use910Activate this skill when the user asks to create a PDF document — reports, whitepapers, proposals, or data sheets — that should follow Valantic branding.1112## PDF Standards1314### Page Layout1516- **Page Size**: A4 (210mm × 297mm)17- **Margins**: Top 25mm, Bottom 20mm, Left 25mm, Right 20mm18- **Header**: Running header in uppercase, e.g., "WHITEPAPER | TOPIC NAME"19- **Footer**: Page number right-aligned, optional Valantic logo left2021### Typography2223- **Font**: Calibre (embed in PDF) with Segoe UI fallback24- **H1**: Calibre Light (300), 24pt, Coral `#FF5757`25- **H2**: Calibre Light (300), 18pt, Coral `#FF5757`26- **H3**: Calibre Semibold (600), 14pt, Dark `#1A1A1A`27- **H4**: Calibre Semibold (600), 12pt, Dark `#1A1A1A`28- **Body**: Calibre Regular (400), 10pt, Primary `#333333`, line-height 1.629- **Pull Quotes**: Calibre Regular Italic, 12pt, Coral `#FF5757`3031### Color Usage3233- Accent borders on callout boxes: 4pt left border34 - Highlight: Coral `#FF5757` with `#fff5f5` background35 - Info: Blue `#4A9EFF` with `#f0f8ff` background36 - Warning: Orange `#FF9800` with `#fff8f0` background37- Table headers: `#F8F8F8` background, Semibold text38- Chart primary: Coral, secondary: `#999999`3940### Cover Page4142- Top section: Valantic gradient (315°, Coral → Peach)43- Title: White, Calibre Light, 36pt44- Subtitle: White, Calibre Regular, 18pt45- Author/date block below gradient section4647### Table of Contents4849- Section numbers in Coral50- Page numbers right-aligned with dot leaders51- Max 2 levels of nesting5253## Implementation5455Use `reportlab` or `weasyprint` for PDF generation:5657```python58# ReportLab example59from reportlab.lib.colors import HexColor6061CORAL = HexColor('#FF5757')62PURPLE = HexColor('#4C26B7')63PEACH = HexColor('#FFCCAA')64TEXT_PRIMARY = HexColor('#333333')65TEXT_DARK = HexColor('#1A1A1A')66```6768## Checklist6970- [ ] A4 page size with correct margins71- [ ] Cover page with gradient header72- [ ] Fonts embedded (Calibre preferred, Segoe UI fallback)73- [ ] Heading hierarchy: H1/H2 Coral Light, H3/H4 Dark Semibold74- [ ] Running header on all pages (except cover)75- [ ] Callout boxes with correct border colors76- [ ] Charts use Coral as primary data color