Files
typogenie/src-tauri/templates/editorial/classic-newspaper.json
TypoGenie 60f39ed961 feat: port all template categories to JSON format
- Ported Minimalist templates to JSON (Swiss Grid, Brutalist, etc.)
- Ported Tech templates to JSON (SaaS, Terminal, Cyberpunk, etc.)
- Ported Creative templates to JSON (Art Gallery, Zine, Pop Art, etc.)
- Ported Industrial templates to JSON (Blueprint, Factory, Schematic, etc.)
- Ported Nature templates to JSON (Botanical, Ocean, Mountain, etc.)
- Ported Lifestyle templates to JSON (Cookbook, Travel, Coffee House, etc.)
- Ported Vintage templates to JSON (Art Deco, Medieval, Retro 80s, etc.)
- Updated README.md to reflect the new JSON-based style system (example configuration and contribution workflow)
- Completed migration of over 150 styles to the new architecture
2026-02-01 18:51:43 +02:00

323 lines
8.2 KiB
JSON

{
"id": "classic-newspaper",
"name": "Classic Newspaper",
"category": "Editorial",
"description": "The trusted voice of record. Traditional multi-column layout with high-contrast serifs and justified text.",
"vibe": "Authoritative, Timeless, Informative",
"googleFontsImport": "https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Newsreader:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Courier+Prime:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap",
"typography": {
"fonts": {
"heading": "Playfair Display",
"body": "Newsreader",
"code": "Courier Prime"
},
"colors": {
"text": "111111",
"textSecondary": "333333",
"background": "F9F7F1",
"accent": "8B0000",
"border": "222222",
"codeBg": "EAE8E0",
"blockquoteBorder": "111111"
}
},
"elements": {
"h1": {
"font": "heading",
"size": 48,
"color": "111111",
"bold": true,
"align": "center",
"spacing": {
"before": 24,
"after": 24,
"line": 0.95
},
"allCaps": true,
"letterSpacing": -1,
"borderBottom": {
"color": "111111",
"width": 4,
"style": "double"
}
},
"h2": {
"font": "heading",
"size": 32,
"color": "111111",
"bold": true,
"align": "center",
"italic": true,
"spacing": {
"before": 24,
"after": 12,
"line": 1.1
}
},
"h3": {
"font": "heading",
"size": 24,
"color": "111111",
"bold": true,
"align": "left",
"spacing": {
"before": 20,
"after": 8,
"line": 1.1
},
"borderBottom": {
"color": "111111",
"width": 1,
"style": "solid"
}
},
"h4": {
"font": "heading",
"size": 18,
"color": "111111",
"bold": true,
"align": "left",
"spacing": {
"before": 16,
"after": 8,
"line": 1.2
}
},
"h5": {
"font": "heading",
"size": 14,
"color": "333333",
"bold": true,
"align": "left",
"spacing": {
"before": 12,
"after": 4,
"line": 1.2
},
"allCaps": true
},
"h6": {
"font": "heading",
"size": 12,
"color": "333333",
"bold": false,
"italic": true,
"align": "left",
"spacing": {
"before": 12,
"after": 4,
"line": 1.2
}
},
"p": {
"font": "body",
"size": 13,
"color": "111111",
"align": "justify",
"spacing": {
"before": 0,
"after": 12,
"line": 1.4
},
"weight": 400
},
"blockquote": {
"font": "heading",
"size": 20,
"color": "111111",
"italic": true,
"align": "center",
"bold": true,
"spacing": {
"before": 24,
"after": 24,
"line": 1.2
},
"padding": 24,
"borderTop": {
"color": "111111",
"width": 1,
"style": "solid"
},
"borderBottom": {
"color": "111111",
"width": 1,
"style": "solid"
},
"indent": 20
},
"code": {
"font": "code",
"size": 12,
"color": "111111",
"background": "codeBg",
"spacing": {
"before": 0,
"after": 0,
"line": 1.4
}
},
"pre": {
"font": "code",
"size": 11,
"color": "111111",
"background": "codeBg",
"padding": 12,
"spacing": {
"before": 12,
"after": 12,
"line": 1.4
},
"border": {
"color": "border",
"width": 1,
"style": "solid"
}
},
"ul": {
"spacing": {
"before": 12,
"after": 12,
"line": 1.4
},
"indent": 16,
"bullet": "disc"
},
"ol": {
"spacing": {
"before": 12,
"after": 12,
"line": 1.4
},
"indent": 16,
"numbering": "decimal"
},
"li": {
"font": "body",
"size": 13,
"color": "111111",
"spacing": {
"before": 2,
"after": 2,
"line": 1.4
}
},
"strong": {
"font": "heading",
"bold": true,
"color": "111111"
},
"em": {
"font": "body",
"italic": true
},
"a": {
"font": "body",
"color": "111111",
"underline": true,
"bold": true
},
"table": {
"spacing": {
"before": 16,
"after": 16,
"line": 1.2
},
"border": {
"color": "111111",
"width": 1,
"style": "solid"
}
},
"th": {
"font": "heading",
"size": 12,
"color": "FFFFFF",
"bold": true,
"background": "111111",
"padding": 8
},
"td": {
"font": "body",
"size": 12,
"color": "111111",
"padding": 8,
"borderBottom": {
"color": "CCCCCC",
"width": 1,
"style": "solid"
}
},
"hr": {
"spacing": {
"before": 24,
"after": 24
},
"border": {
"color": "111111",
"width": 1,
"style": "solid"
}
},
"img": {
"align": "center",
"spacing": {
"before": 16,
"after": 16
},
"border": {
"color": "111111",
"width": 2,
"style": "solid"
}
},
"del": {
"font": "body",
"strikethrough": true,
"color": "555555"
},
"sup": {
"font": "body",
"size": 9,
"superScript": true
},
"sub": {
"font": "body",
"size": 9,
"subScript": true
},
"mark": {
"font": "body",
"background": "EAE8E0",
"color": "111111",
"italic": true
},
"footnote": {
"font": "body",
"size": 10,
"color": "textSecondary",
"superScript": true
},
"footnoteRef": {
"font": "body",
"size": 10,
"color": "textSecondary",
"spacing": {
"before": 4,
"after": 4,
"line": 1.2
}
}
},
"page": {
"margins": {
"top": 50,
"bottom": 50,
"left": 50,
"right": 50
},
"columns": 1,
"header": true,
"footer": true
}
}