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:
307
src-tauri/templates/academic/botanical-textbook.json
Normal file
307
src-tauri/templates/academic/botanical-textbook.json
Normal file
@@ -0,0 +1,307 @@
|
||||
{
|
||||
"id": "botanical-textbook",
|
||||
"name": "Botanical Textbook",
|
||||
"category": "Scientific",
|
||||
"description": "Inspired by 19th-century flora guides. Elegant serif typography, earthy tones, and spacious formatting for biological descriptions.",
|
||||
"vibe": "Vintage, Organic, Elegant",
|
||||
"googleFontsImport": "https://fonts.googleapis.com/css2?family=Alice:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Cormorant+Garamond: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": "Alice",
|
||||
"body": "Spectral",
|
||||
"code": "Cormorant Garamond"
|
||||
},
|
||||
"colors": {
|
||||
"text": "2E3B21",
|
||||
"textSecondary": "5D4037",
|
||||
"background": "FFFCF5",
|
||||
"accent": "558B2F",
|
||||
"border": "A1887F",
|
||||
"codeBg": "F1F8E9",
|
||||
"blockquoteBorder": "558B2F"
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"h1": {
|
||||
"font": "heading",
|
||||
"size": 36,
|
||||
"color": "text",
|
||||
"bold": false,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 36,
|
||||
"after": 18,
|
||||
"line": 1.1
|
||||
},
|
||||
"borderBottom": {
|
||||
"color": "accent",
|
||||
"width": 4,
|
||||
"style": "double",
|
||||
"space": 3
|
||||
}
|
||||
},
|
||||
"h2": {
|
||||
"font": "heading",
|
||||
"size": 22,
|
||||
"color": "textSecondary",
|
||||
"bold": false,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 12,
|
||||
"line": 1.2
|
||||
},
|
||||
"italic": true
|
||||
},
|
||||
"h3": {
|
||||
"font": "heading",
|
||||
"size": 18,
|
||||
"color": "accent",
|
||||
"bold": false,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 9,
|
||||
"line": 1.2
|
||||
}
|
||||
},
|
||||
"h4": {
|
||||
"font": "body",
|
||||
"size": 14,
|
||||
"color": "textSecondary",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 8,
|
||||
"line": 1.3
|
||||
}
|
||||
},
|
||||
"h5": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "accent",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.4
|
||||
},
|
||||
"allCaps": true
|
||||
},
|
||||
"h6": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"italic": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.4
|
||||
}
|
||||
},
|
||||
"p": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "text",
|
||||
"align": "justify",
|
||||
"indent": 24,
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"line": 1.6
|
||||
}
|
||||
},
|
||||
"blockquote": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"italic": true,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 18,
|
||||
"line": 1.5
|
||||
},
|
||||
"padding": 12,
|
||||
"borderTop": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "single"
|
||||
},
|
||||
"borderBottom": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "single"
|
||||
}
|
||||
},
|
||||
"code": {
|
||||
"font": "code",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"background": "codeBg",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"line": 1
|
||||
}
|
||||
},
|
||||
"pre": {
|
||||
"font": "code",
|
||||
"size": 10,
|
||||
"color": "textSecondary",
|
||||
"background": "codeBg",
|
||||
"padding": 12,
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.4
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "dashed"
|
||||
}
|
||||
},
|
||||
"ul": {
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 36,
|
||||
"bullet": "disc"
|
||||
},
|
||||
"ol": {
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 36,
|
||||
"numbering": "decimal"
|
||||
},
|
||||
"li": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "text",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"line": 1.6
|
||||
}
|
||||
},
|
||||
"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
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "single"
|
||||
}
|
||||
},
|
||||
"th": {
|
||||
"font": "heading",
|
||||
"size": 11,
|
||||
"color": "text",
|
||||
"bold": false,
|
||||
"background": "F1F8E9",
|
||||
"padding": 8,
|
||||
"borderBottom": {
|
||||
"color": "accent",
|
||||
"width": 2,
|
||||
"style": "single"
|
||||
}
|
||||
},
|
||||
"td": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "text",
|
||||
"padding": 8
|
||||
},
|
||||
"hr": {
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 24
|
||||
},
|
||||
"border": {
|
||||
"color": "accent",
|
||||
"width": 2,
|
||||
"style": "double",
|
||||
"space": 3
|
||||
}
|
||||
},
|
||||
"img": {
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 18
|
||||
}
|
||||
},
|
||||
"del": {
|
||||
"font": "body",
|
||||
"strikethrough": true
|
||||
},
|
||||
"sup": {
|
||||
"font": "body",
|
||||
"size": 9,
|
||||
"superScript": true
|
||||
},
|
||||
"sub": {
|
||||
"font": "body",
|
||||
"size": 9,
|
||||
"subScript": true
|
||||
},
|
||||
"mark": {
|
||||
"font": "body",
|
||||
"background": "DCEDC8",
|
||||
"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": 80,
|
||||
"bottom": 80,
|
||||
"left": 80,
|
||||
"right": 80
|
||||
},
|
||||
"columns": 1,
|
||||
"header": true,
|
||||
"footer": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user