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:
300
src-tauri/templates/academic/research-paper.json
Normal file
300
src-tauri/templates/academic/research-paper.json
Normal file
@@ -0,0 +1,300 @@
|
||||
{
|
||||
"id": "research-paper",
|
||||
"name": "Research Paper",
|
||||
"category": "Academic",
|
||||
"description": "Clean, functional design inspired by scientific preprints (LaTeX/arXiv). Geometric headings paired with high-readability body text.",
|
||||
"vibe": "Scientific, Modern, Functional",
|
||||
"googleFontsImport": "https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Crimson+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Fira+Code: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": "Montserrat",
|
||||
"body": "Crimson Pro",
|
||||
"code": "Fira Code"
|
||||
},
|
||||
"colors": {
|
||||
"text": "111827",
|
||||
"textSecondary": "4B5563",
|
||||
"background": "FFFFFF",
|
||||
"accent": "2563EB",
|
||||
"border": "E5E7EB",
|
||||
"codeBg": "F3F4F6",
|
||||
"blockquoteBorder": "2563EB"
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"h1": {
|
||||
"font": "heading",
|
||||
"size": 26,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 30,
|
||||
"after": 15,
|
||||
"line": 1.2
|
||||
}
|
||||
},
|
||||
"h2": {
|
||||
"font": "heading",
|
||||
"size": 16,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 12,
|
||||
"line": 1.25
|
||||
},
|
||||
"allCaps": true,
|
||||
"borderBottom": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"h3": {
|
||||
"font": "heading",
|
||||
"size": 14,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 9,
|
||||
"line": 1.3
|
||||
}
|
||||
},
|
||||
"h4": {
|
||||
"font": "heading",
|
||||
"size": 12,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 8,
|
||||
"line": 1.3
|
||||
}
|
||||
},
|
||||
"h5": {
|
||||
"font": "heading",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.4
|
||||
}
|
||||
},
|
||||
"h6": {
|
||||
"font": "heading",
|
||||
"size": 10,
|
||||
"color": "textSecondary",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"allCaps": true,
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.4
|
||||
}
|
||||
},
|
||||
"p": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "text",
|
||||
"align": "justify",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 10,
|
||||
"line": 1.6
|
||||
}
|
||||
},
|
||||
"blockquote": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"italic": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 24,
|
||||
"borderLeft": {
|
||||
"color": "accent",
|
||||
"width": 4,
|
||||
"style": "solid"
|
||||
},
|
||||
"background": "F9FAFB",
|
||||
"padding": 12
|
||||
},
|
||||
"code": {
|
||||
"font": "code",
|
||||
"size": 9.5,
|
||||
"color": "text",
|
||||
"background": "codeBg",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"line": 1.4
|
||||
}
|
||||
},
|
||||
"pre": {
|
||||
"font": "code",
|
||||
"size": 9,
|
||||
"color": "text",
|
||||
"background": "codeBg",
|
||||
"padding": 12,
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.4
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"ul": {
|
||||
"spacing": {
|
||||
"before": 10,
|
||||
"after": 10,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 24,
|
||||
"bullet": "disc"
|
||||
},
|
||||
"ol": {
|
||||
"spacing": {
|
||||
"before": 10,
|
||||
"after": 10,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 24,
|
||||
"numbering": "decimal"
|
||||
},
|
||||
"li": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"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
|
||||
},
|
||||
"table": {
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 18,
|
||||
"line": 1.2
|
||||
},
|
||||
"border": {
|
||||
"color": "text",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"th": {
|
||||
"font": "heading",
|
||||
"size": 10,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"background": "F3F4F6",
|
||||
"padding": 8,
|
||||
"borderBottom": {
|
||||
"color": "text",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"td": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"color": "text",
|
||||
"padding": 8
|
||||
},
|
||||
"hr": {
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 24
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"img": {
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 18
|
||||
}
|
||||
},
|
||||
"del": {
|
||||
"font": "body",
|
||||
"strikethrough": true
|
||||
},
|
||||
"sup": {
|
||||
"font": "body",
|
||||
"size": 8,
|
||||
"superScript": true
|
||||
},
|
||||
"sub": {
|
||||
"font": "body",
|
||||
"size": 8,
|
||||
"subScript": true
|
||||
},
|
||||
"mark": {
|
||||
"font": "body",
|
||||
"background": "DBEAFE",
|
||||
"color": "text"
|
||||
},
|
||||
"footnote": {
|
||||
"font": "body",
|
||||
"size": 9,
|
||||
"color": "textSecondary",
|
||||
"superScript": true
|
||||
},
|
||||
"footnoteRef": {
|
||||
"font": "body",
|
||||
"size": 9,
|
||||
"color": "textSecondary",
|
||||
"spacing": {
|
||||
"before": 6,
|
||||
"after": 6,
|
||||
"line": 1.2
|
||||
}
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
"margins": {
|
||||
"top": 72,
|
||||
"bottom": 72,
|
||||
"left": 72,
|
||||
"right": 72
|
||||
},
|
||||
"columns": 1,
|
||||
"header": false,
|
||||
"footer": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user