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:
304
src-tauri/templates/academic/dark-academia.json
Normal file
304
src-tauri/templates/academic/dark-academia.json
Normal file
@@ -0,0 +1,304 @@
|
||||
{
|
||||
"id": "dark-academia",
|
||||
"name": "Dark Academia",
|
||||
"category": "Academic",
|
||||
"description": "Moody, sophisticated aesthetic inspired by old libraries and tweed. Rich serif typography with oxblood accents.",
|
||||
"vibe": "Moody, Literary, Scholars",
|
||||
"googleFontsImport": "https://fonts.googleapis.com/css2?family=Cinzel:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=EB+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Cutive+Mono: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": "Cinzel",
|
||||
"body": "EB Garamond",
|
||||
"code": "Cutive Mono"
|
||||
},
|
||||
"colors": {
|
||||
"text": "212121",
|
||||
"textSecondary": "424242",
|
||||
"background": "F0F0EB",
|
||||
"accent": "4A1414",
|
||||
"border": "757575",
|
||||
"codeBg": "E0E0E0",
|
||||
"blockquoteBorder": "4A1414"
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"h1": {
|
||||
"font": "heading",
|
||||
"size": 32,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 36,
|
||||
"after": 18,
|
||||
"line": 1.1
|
||||
},
|
||||
"borderBottom": {
|
||||
"color": "accent",
|
||||
"width": 2,
|
||||
"style": "solid",
|
||||
"space": 5
|
||||
}
|
||||
},
|
||||
"h2": {
|
||||
"font": "heading",
|
||||
"size": 20,
|
||||
"color": "accent",
|
||||
"bold": false,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 12,
|
||||
"line": 1.2
|
||||
},
|
||||
"background": "EAE6DF",
|
||||
"padding": 8
|
||||
},
|
||||
"h3": {
|
||||
"font": "heading",
|
||||
"size": 16,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"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
|
||||
},
|
||||
"italic": true
|
||||
},
|
||||
"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": 12,
|
||||
"color": "text",
|
||||
"italic": true,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 24,
|
||||
"line": 1.6
|
||||
},
|
||||
"padding": 0,
|
||||
"borderLeft": {
|
||||
"color": "accent",
|
||||
"width": 3,
|
||||
"style": "solid"
|
||||
},
|
||||
"background": "transparent"
|
||||
},
|
||||
"code": {
|
||||
"font": "code",
|
||||
"size": 10,
|
||||
"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.3
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"ul": {
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 48,
|
||||
"bullet": "disc"
|
||||
},
|
||||
"ol": {
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 48,
|
||||
"numbering": "upper-roman"
|
||||
},
|
||||
"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": false,
|
||||
"bold": true
|
||||
},
|
||||
"table": {
|
||||
"spacing": {
|
||||
"before": 18,
|
||||
"after": 18,
|
||||
"line": 1.2
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"th": {
|
||||
"font": "heading",
|
||||
"size": 11,
|
||||
"color": "text",
|
||||
"bold": true,
|
||||
"background": "D7CCC8",
|
||||
"padding": 8,
|
||||
"borderBottom": {
|
||||
"color": "text",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"td": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "text",
|
||||
"padding": 8
|
||||
},
|
||||
"hr": {
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 24
|
||||
},
|
||||
"border": {
|
||||
"color": "accent",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"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": "EFEBE9",
|
||||
"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