Overview
VibeDoc’s template system gives you complete control over document styling. Customize colors, fonts, spacing, and layout to match your brand or create distinct document types.
Template Components
Colors Primary, secondary, accent, and text colors
Typography Font families, sizes, weights, and line heights
Spacing Margins, padding, and gaps between elements
Layout Headers, footers, and page dimensions
Color Configuration
Primary Colors
Define your brand colors:
Template Colors :
Primary : #3B82F6 (Blue)
Secondary : #8B5CF6 (Purple)
Accent : #10B981 (Green)
Text : #1F2937 (Dark Gray)
Background : #FFFFFF (White)
Primary Color - Main brand colorUsed for:
Headings
Links
Buttons
Emphasis
Secondary Color - Supporting colorUsed for:
Subheadings
Icons
Borders
Secondary CTAs
Accent Color - Highlight colorUsed for:
Callouts
Badges
Highlights
Special elements
Color Presets
Quick-start with built-in color schemes:
Blue Professional Blue & Indigo - Corporate, trustworthy
Green Growth Green & Teal - Fresh, eco-friendly
Purple Creative Purple & Pink - Creative, modern
Red Bold Red & Orange - Energetic, urgent
Gray Minimal Grayscale - Clean, minimal
Multicolor Full spectrum - Playful, diverse
Applying Colors
Colors automatically apply to:
All heading blocks
Text emphasis
Table headers
Callout borders
Signature blocks
Divider lines
Colors are applied consistently across preview, PDF export, and shared links for perfect brand matching.
Typography
Font Families
Choose from professional font stacks:
Font Family Style Best For Geist Sans Modern sans-serif General use Inter Versatile sans-serif Business docs Roboto Clean geometric Tech docs Merriweather Classic serif Reports Lora Elegant serif Formal docs Playfair Display Decorative serif Creative IBM Plex Mono Monospace Code, data
Use sans-serif fonts for digital reading and serif fonts for printed documents.
Heading Sizes
Configure all six heading levels:
Heading Sizes :
H1 :
fontSize : 36px
lineHeight : 1.2
fontWeight : 700
H2 :
fontSize : 28px
lineHeight : 1.3
fontWeight : 600
H3 :
fontSize : 22px
lineHeight : 1.4
fontWeight : 600
H4 :
fontSize : 18px
lineHeight : 1.5
fontWeight : 600
H5 :
fontSize : 16px
lineHeight : 1.5
fontWeight : 500
H6 :
fontSize : 14px
lineHeight : 1.6
fontWeight : 500
Text Sizing
Control body text appearance:
Default: 16px Affects all text blocks. Recommended range: 14-18px
Default: 1.6 Spacing between lines. Recommended: 1.4-1.8
Default: 0 Space between characters. Recommended: -0.02em to 0.05em
Default: 16px Gap between paragraphs. Recommended: 12-24px
Spacing & Layout
Margins
Control document edges with visual cross-layout editor:
Visual Editor : VibeDoc includes an interactive cross-layout margin editor with real-time preview. See margins adjust as you type!
Margins :
Page :
Top : 60px
Right : 80px
Bottom : 60px
Left : 80px
Blocks :
Above : 24px
Below : 24px
Visual Features:
Cross-layout positioning (Top, Right, Bottom, Left inputs)
Connecting lines to page preview
Real-time visual feedback
Intuitive controls with labels
Padding
Internal spacing for elements:
Padding :
Callouts : 16px
Tables : 12px
Signatures : 20px
Grid System
Align content with an invisible grid (coming soon):
Columns: 12-column system
Gutters: Configurable gaps
Breakpoints: Responsive sizing
Customize document headers:
Content
Styling
Visibility
Header Content:
Logo image
Company name
Document title
Date
Custom text
Header Styles:
Height: 40-120px
Background color
Border (top/bottom)
Text alignment
Font size
Display Options:
All pages
First page only
All except first
None
Customize document footers:
Content
Styling
Visibility
Footer Content:
Page numbers
Copyright notice
Contact info
Website URL
Custom text
Footer Styles:
Height: 30-80px
Background color
Border (top/bottom)
Text alignment
Font size
Display Options:
All pages
All except first
Last page only
None
Border Configuration
Add borders to header/footer:
Border Options :
Position : Top | Bottom | Both
Style : Solid | Dashed | Dotted | Double
Width : 1-5px
Color : Any hex color
Branding & Watermarks
Protect and brand your documents:
New in v1.6.0 : Advanced watermark system with text/image support, repeat patterns (diagonal, grid, sparse), and comprehensive styling options. Learn more →
Header, footer, and branding settings are Pro features . Free plan uses default header/footer.
Page Settings
Page Size
Currently, all documents use A4 (210mm × 297mm):
Coming Soon:
Letter (US standard)
Legal
A3, A5
Custom dimensions
Orientation
Toggle between:
Portrait (vertical) - Default - Represented by vertical paper icon
Landscape (horizontal) - Represented by horizontal paper icon
Visual Selection : Choose orientation with intuitive SVG paper icons showing actual page orientation. Portrait displays a vertical paper sheet, landscape shows a horizontal document.
Affects all pages in the document. Orientation can also be set during PDF export for format-specific output.
Page Breaks
Control where pages break (coming soon):
Page Break Options :
- Avoid breaks inside blocks
- Force break after block
- Keep heading with following content
- Orphan/widow control
Template Library
Built-in Templates
Start with pre-configured templates:
Business Proposal Professional blue theme with clean typography
Legal Contract Serif font with formal spacing and structure
Creative Brief Colorful with modern sans-serif fonts
Technical Report Monospace accents, tight spacing, data-focused
Invoice Minimal design with emphasis on tables
Resume Compact layout with professional styling
Custom Templates
Create your own templates (Pro feature):
Start with Base
Choose a built-in template or start blank
Customize Settings
Adjust colors, fonts, spacing, headers/footers
Preview
See real-time preview of changes
Save Template
Give it a name and save to your library
Apply Anytime
Apply saved templates to any document
Sharing Templates
Share custom templates with team (Enterprise feature, coming soon):
Export template configuration as JSON
Import templates from others
Team template library
Version control for templates
Advanced Customization
CSS Overrides (Enterprise)
Add custom CSS for ultimate control:
/* Example custom CSS */
.heading-1 {
text-transform : uppercase ;
letter-spacing : 0.05 em ;
}
.callout-info {
border-left : 4 px solid #3B82F6 ;
border-radius : 8 px ;
}
.table th {
background : linear-gradient ( to bottom , #3B82F6 , #2563EB );
}
Custom CSS requires understanding of document structure. Incorrect CSS can break layouts.
JavaScript Hooks (Enterprise)
Execute custom logic on document events:
// Example: Add current date to footer
vibedoc . onRender (( doc ) => {
doc . footer . text = `© ${ new Date (). getFullYear () } Your Company` ;
});
API Configuration
Set templates programmatically:
// Future API
await vibedoc . updateTemplate ( documentId , {
colors: {
primary: '#3B82F6' ,
secondary: '#8B5CF6'
},
fonts: {
heading: 'Inter' ,
body: 'Inter'
},
spacing: {
marginTop: 80 ,
marginBottom: 80
}
});
Template Management
Saving Templates
Save current configuration as reusable template:
Configure Document - Style to your liking
Open Template Menu - Click “Templates” in toolbar
Save as New - Click “Save Current as Template”
Name Template - Give it a descriptive name
Confirmation - Template saved to your library
Applying Templates
Apply saved templates to documents:
New Documents
Existing Documents
Multiple Documents
Select template when creating new document
Open document → Templates menu → Select template → Apply
Bulk apply template to multiple docs (coming soon)
Editing Templates
Modify saved templates:
Load template into document
Make changes
Save over existing template (replaces)
Or save as new template (creates variant)
Deleting Templates
Remove templates you no longer need:
Open Template Library
Hover over template
Click delete icon
Confirm deletion
Deleting a template doesn’t affect documents already using it.
Best Practices
Use the same template for related documents to maintain brand consistency.
Always export a test PDF to verify template looks correct in final output.
Avoid over-styling. Clean, simple templates are more professional.
Choose legible fonts at appropriate sizes. Minimum 14px for body text.
Ensure sufficient color contrast for accessibility (WCAG AA minimum).
Stick to 2-3 main colors. More creates visual chaos.
Leave adequate white space. Minimum 60px margins recommended.
Don't: Mix Too Many Fonts
Use 1-2 font families maximum. More looks unprofessional.
Responsive Templates
Templates adapt to different contexts:
Context Adjustments Desktop Preview Full template applied PDF Export Print-optimized layout Mobile View Responsive sizing Share Page Web-optimized rendering
Templates automatically adjust spacing, font sizes, and margins for each context.
Next Steps