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:
296
src-tauri/templates/academic/mathematics-paper.json
Normal file
296
src-tauri/templates/academic/mathematics-paper.json
Normal file
@@ -0,0 +1,296 @@
|
||||
{
|
||||
"id": "mathematics-paper",
|
||||
"name": "Mathematics Paper",
|
||||
"category": "Academic",
|
||||
"description": "Inspired by LaTeX and Computer Modern. Serif-heavy, precise, and highly legible for academic rigor.",
|
||||
"vibe": "Academic, Rigorous, Formal",
|
||||
"googleFontsImport": "https://fonts.googleapis.com/css2?family=Domine:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Noticia+Text: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": "Domine",
|
||||
"body": "Noticia Text",
|
||||
"code": "Domine"
|
||||
},
|
||||
"colors": {
|
||||
"text": "000000",
|
||||
"textSecondary": "333333",
|
||||
"background": "FFFFFF",
|
||||
"accent": "000000",
|
||||
"border": "CCCCCC",
|
||||
"codeBg": "F5F5F5",
|
||||
"blockquoteBorder": "000000"
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"h1": {
|
||||
"font": "heading",
|
||||
"size": 24,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 20,
|
||||
"after": 12,
|
||||
"line": 1.2
|
||||
}
|
||||
},
|
||||
"h2": {
|
||||
"font": "heading",
|
||||
"size": 14,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 8,
|
||||
"line": 1.2
|
||||
}
|
||||
},
|
||||
"h3": {
|
||||
"font": "heading",
|
||||
"size": 12,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"italic": false,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.2
|
||||
}
|
||||
},
|
||||
"h4": {
|
||||
"font": "heading",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 10,
|
||||
"after": 5,
|
||||
"line": 1.2
|
||||
}
|
||||
},
|
||||
"h5": {
|
||||
"font": "heading",
|
||||
"size": 10,
|
||||
"color": "textSecondary",
|
||||
"bold": true,
|
||||
"italic": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 8,
|
||||
"after": 4,
|
||||
"line": 1.2
|
||||
}
|
||||
},
|
||||
"h6": {
|
||||
"font": "heading",
|
||||
"size": 10,
|
||||
"color": "textSecondary",
|
||||
"bold": false,
|
||||
"italic": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 8,
|
||||
"after": 4,
|
||||
"line": 1.2
|
||||
}
|
||||
},
|
||||
"p": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "212121",
|
||||
"align": "justify",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 8,
|
||||
"line": 1.6
|
||||
}
|
||||
},
|
||||
"blockquote": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"color": "textSecondary",
|
||||
"italic": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.5
|
||||
},
|
||||
"padding": 10,
|
||||
"borderLeft": {
|
||||
"color": "blockquoteBorder",
|
||||
"width": 3,
|
||||
"style": "solid"
|
||||
},
|
||||
"background": "codeBg"
|
||||
},
|
||||
"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",
|
||||
"spacing": {
|
||||
"before": 10,
|
||||
"after": 10,
|
||||
"line": 1.4
|
||||
},
|
||||
"padding": 12,
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"ul": {
|
||||
"spacing": {
|
||||
"before": 6,
|
||||
"after": 6,
|
||||
"line": 1.5
|
||||
},
|
||||
"indent": 20,
|
||||
"bullet": "disc"
|
||||
},
|
||||
"ol": {
|
||||
"spacing": {
|
||||
"before": 6,
|
||||
"after": 6,
|
||||
"line": 1.5
|
||||
},
|
||||
"indent": 20,
|
||||
"numbering": "decimal"
|
||||
},
|
||||
"li": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "212121",
|
||||
"spacing": {
|
||||
"before": 2,
|
||||
"after": 2,
|
||||
"line": 1.5
|
||||
}
|
||||
},
|
||||
"strong": {
|
||||
"font": "body",
|
||||
"bold": true
|
||||
},
|
||||
"em": {
|
||||
"font": "body",
|
||||
"italic": true
|
||||
},
|
||||
"a": {
|
||||
"font": "body",
|
||||
"color": "accent",
|
||||
"underline": true
|
||||
},
|
||||
"table": {
|
||||
"spacing": {
|
||||
"before": 10,
|
||||
"after": 10,
|
||||
"line": 1.2
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"th": {
|
||||
"font": "heading",
|
||||
"size": 10,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"background": "F0F0F0",
|
||||
"padding": 8
|
||||
},
|
||||
"td": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"color": "212121",
|
||||
"padding": 8
|
||||
},
|
||||
"hr": {
|
||||
"border": {
|
||||
"color": "accent",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
},
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12
|
||||
}
|
||||
},
|
||||
"img": {
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 10,
|
||||
"after": 10
|
||||
}
|
||||
},
|
||||
"_comment_del": "~~strikethrough~~ - deleted text",
|
||||
"del": {
|
||||
"strikethrough": true,
|
||||
"font": "body"
|
||||
},
|
||||
"_comment_sup": "^superscript^ - superscript text",
|
||||
"sup": {
|
||||
"font": "body",
|
||||
"size": 8,
|
||||
"superScript": true
|
||||
},
|
||||
"sub": {
|
||||
"font": "body",
|
||||
"size": 8,
|
||||
"subScript": true
|
||||
},
|
||||
"_comment_sub": "~subscript~ - subscript text",
|
||||
"_comment_mark": "==highlighted text== - marked/highlighted text",
|
||||
"mark": {
|
||||
"font": "body",
|
||||
"color": "FFFFFF",
|
||||
"background": "accent"
|
||||
},
|
||||
"footnote": {
|
||||
"font": "body",
|
||||
"color": "textSecondary",
|
||||
"size": 9,
|
||||
"superScript": true
|
||||
},
|
||||
"_comment_footnote": "[^1] - footnote references",
|
||||
"footnoteRef": {
|
||||
"font": "body",
|
||||
"color": "textSecondary",
|
||||
"spacing": {
|
||||
"line": 1.2,
|
||||
"before": 6,
|
||||
"after": 6
|
||||
},
|
||||
"size": 9
|
||||
},
|
||||
"_comment_footnote_ref": "Footnote content at bottom of page"
|
||||
},
|
||||
"page": {
|
||||
"margins": {
|
||||
"top": 72,
|
||||
"bottom": 72,
|
||||
"left": 72,
|
||||
"right": 72
|
||||
},
|
||||
"columns": 1,
|
||||
"header": false,
|
||||
"footer": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user