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
This commit is contained in:
314
src-tauri/templates/academic/history-textbook.json
Normal file
314
src-tauri/templates/academic/history-textbook.json
Normal file
@@ -0,0 +1,314 @@
|
||||
{
|
||||
"id": "history-textbook",
|
||||
"name": "History Textbook",
|
||||
"category": "Academic",
|
||||
"description": "Evocative of 18th-century treatises. Caslon-inspired serifs, deep margins, and a sense of gravity and time.",
|
||||
"vibe": "Historical, Classic, Serif",
|
||||
"googleFontsImport": "https://fonts.googleapis.com/css2?family=IM+Fell+English+SC:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Crimson+Text:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Metamorphous: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": "IM Fell English SC",
|
||||
"body": "Crimson Text",
|
||||
"code": "Metamorphous"
|
||||
},
|
||||
"colors": {
|
||||
"text": "2D241E",
|
||||
"textSecondary": "4E342E",
|
||||
"background": "FDFBF7",
|
||||
"accent": "8D1C1C",
|
||||
"border": "BCAAA4",
|
||||
"codeBg": "F5F1E8",
|
||||
"blockquoteBorder": "8D1C1C"
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"h1": {
|
||||
"font": "heading",
|
||||
"size": 36,
|
||||
"color": "text",
|
||||
"bold": false,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 36,
|
||||
"after": 18,
|
||||
"line": 1.0
|
||||
},
|
||||
"borderBottom": {
|
||||
"color": "text",
|
||||
"width": 1,
|
||||
"style": "solid",
|
||||
"space": 4
|
||||
}
|
||||
},
|
||||
"h2": {
|
||||
"font": "heading",
|
||||
"size": 24,
|
||||
"color": "accent",
|
||||
"bold": false,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 12,
|
||||
"line": 1.2
|
||||
},
|
||||
"italic": false
|
||||
},
|
||||
"h3": {
|
||||
"font": "body",
|
||||
"size": 18,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 9,
|
||||
"line": 1.2
|
||||
},
|
||||
"italic": true
|
||||
},
|
||||
"h4": {
|
||||
"font": "body",
|
||||
"size": 14,
|
||||
"color": "textSecondary",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 8,
|
||||
"line": 1.3
|
||||
},
|
||||
"allCaps": true
|
||||
},
|
||||
"h5": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "accent",
|
||||
"bold": false,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.4
|
||||
},
|
||||
"italic": true
|
||||
},
|
||||
"h6": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"italic": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.4
|
||||
}
|
||||
},
|
||||
"p": {
|
||||
"font": "body",
|
||||
"size": 13,
|
||||
"color": "text",
|
||||
"align": "justify",
|
||||
"indent": 24,
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"line": 1.5
|
||||
}
|
||||
},
|
||||
"blockquote": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "textSecondary",
|
||||
"italic": true,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 24,
|
||||
"line": 1.5
|
||||
},
|
||||
"padding": 20,
|
||||
"borderTop": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "single"
|
||||
},
|
||||
"borderBottom": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "single"
|
||||
},
|
||||
"background": "codeBg"
|
||||
},
|
||||
"code": {
|
||||
"font": "code",
|
||||
"size": 11,
|
||||
"color": "text",
|
||||
"background": "codeBg",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"line": 1.3
|
||||
}
|
||||
},
|
||||
"pre": {
|
||||
"font": "code",
|
||||
"size": 10,
|
||||
"color": "text",
|
||||
"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.5
|
||||
},
|
||||
"indent": 36,
|
||||
"bullet": "disc"
|
||||
},
|
||||
"ol": {
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.5
|
||||
},
|
||||
"indent": 36,
|
||||
"numbering": "decimal"
|
||||
},
|
||||
"li": {
|
||||
"font": "body",
|
||||
"size": 13,
|
||||
"color": "text",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"line": 1.5
|
||||
}
|
||||
},
|
||||
"strong": {
|
||||
"font": "body",
|
||||
"bold": true
|
||||
},
|
||||
"em": {
|
||||
"font": "body",
|
||||
"italic": true
|
||||
},
|
||||
"a": {
|
||||
"font": "body",
|
||||
"color": "accent",
|
||||
"underline": true,
|
||||
"italic": true
|
||||
},
|
||||
"table": {
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 18,
|
||||
"line": 1.2
|
||||
},
|
||||
"borderTop": {
|
||||
"color": "text",
|
||||
"width": 2,
|
||||
"style": "double"
|
||||
},
|
||||
"borderBottom": {
|
||||
"color": "text",
|
||||
"width": 2,
|
||||
"style": "double"
|
||||
}
|
||||
},
|
||||
"th": {
|
||||
"font": "heading",
|
||||
"size": 11,
|
||||
"color": "text",
|
||||
"bold": false,
|
||||
"background": "F5F1E8",
|
||||
"padding": 8,
|
||||
"borderBottom": {
|
||||
"color": "text",
|
||||
"width": 1,
|
||||
"style": "single"
|
||||
}
|
||||
},
|
||||
"td": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "text",
|
||||
"padding": 8
|
||||
},
|
||||
"hr": {
|
||||
"spacing": {
|
||||
"before": 36,
|
||||
"after": 36
|
||||
},
|
||||
"border": {
|
||||
"color": "text",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"img": {
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 24
|
||||
}
|
||||
},
|
||||
"del": {
|
||||
"font": "body",
|
||||
"strikethrough": true
|
||||
},
|
||||
"sup": {
|
||||
"font": "body",
|
||||
"size": 9,
|
||||
"superScript": true
|
||||
},
|
||||
"sub": {
|
||||
"font": "body",
|
||||
"size": 9,
|
||||
"subScript": true
|
||||
},
|
||||
"mark": {
|
||||
"font": "body",
|
||||
"background": "E6DOD3",
|
||||
"color": "text"
|
||||
},
|
||||
"footnote": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"color": "textSecondary",
|
||||
"superScript": true
|
||||
},
|
||||
"footnoteRef": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"color": "textSecondary",
|
||||
"spacing": {
|
||||
"before": 6,
|
||||
"after": 6,
|
||||
"line": 1.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
"margins": {
|
||||
"top": 90,
|
||||
"bottom": 90,
|
||||
"left": 90,
|
||||
"right": 90
|
||||
},
|
||||
"columns": 1,
|
||||
"header": true,
|
||||
"footer": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user