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:
318
src-tauri/templates/academic/emergency-room.json
Normal file
318
src-tauri/templates/academic/emergency-room.json
Normal file
@@ -0,0 +1,318 @@
|
||||
{
|
||||
"id": "emergency-room",
|
||||
"name": "Emergency Room",
|
||||
"category": "Healthcare",
|
||||
"description": "High-urgency design for critical information. Uses international standard colors and high-legibility typefaces for maximum clarity in stressful environments.",
|
||||
"vibe": "Urgent, High-Contrast, Critical",
|
||||
"googleFontsImport": "https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=JetBrains+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": "Inter",
|
||||
"body": "Public Sans",
|
||||
"code": "JetBrains Mono"
|
||||
},
|
||||
"colors": {
|
||||
"text": "212121",
|
||||
"textSecondary": "37474F",
|
||||
"background": "FFFFFF",
|
||||
"accent": "D32F2F",
|
||||
"border": "B71C1C",
|
||||
"codeBg": "FFEBEE",
|
||||
"blockquoteBorder": "D32F2F"
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"h1": {
|
||||
"font": "heading",
|
||||
"size": 42,
|
||||
"color": "accent",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 12,
|
||||
"line": 1.1
|
||||
},
|
||||
"allCaps": true,
|
||||
"borderBottom": {
|
||||
"color": "accent",
|
||||
"width": 8,
|
||||
"style": "solid"
|
||||
}
|
||||
,
|
||||
"background": "FFEBEE",
|
||||
"padding": 16
|
||||
},
|
||||
"h2": {
|
||||
"font": "heading",
|
||||
"size": 24,
|
||||
"color": "212121",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 20,
|
||||
"after": 10,
|
||||
"line": 1.2
|
||||
},
|
||||
"background": "212121",
|
||||
"color": "FFFFFF",
|
||||
"padding": 8,
|
||||
"allCaps": true
|
||||
},
|
||||
"h3": {
|
||||
"font": "heading",
|
||||
"size": 18,
|
||||
"color": "accent",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 8,
|
||||
"line": 1.3
|
||||
},
|
||||
"borderLeft": {
|
||||
"color": "accent",
|
||||
"width": 8,
|
||||
"style": "solid"
|
||||
}
|
||||
,
|
||||
"padding": 8
|
||||
},
|
||||
"h4": {
|
||||
"font": "heading",
|
||||
"size": 16,
|
||||
"color": "textSecondary",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 14,
|
||||
"after": 6,
|
||||
"line": 1.3
|
||||
},
|
||||
"allCaps": true
|
||||
},
|
||||
"h5": {
|
||||
"font": "body",
|
||||
"size": 14,
|
||||
"color": "textSecondary",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.4
|
||||
}
|
||||
},
|
||||
"h6": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "textSecondary",
|
||||
"italic": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 6,
|
||||
"line": 1.4
|
||||
}
|
||||
},
|
||||
"p": {
|
||||
"font": "body",
|
||||
"size": 14,
|
||||
"color": "text",
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 12,
|
||||
"line": 1.5
|
||||
},
|
||||
"weight": 500
|
||||
},
|
||||
"blockquote": {
|
||||
"font": "heading",
|
||||
"size": 14,
|
||||
"color": "accent",
|
||||
"bold": true,
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 16,
|
||||
"line": 1.4
|
||||
},
|
||||
"padding": 20,
|
||||
"border": {
|
||||
"color": "accent",
|
||||
"width": 4,
|
||||
"style": "solid"
|
||||
},
|
||||
"background": "FFEBEE"
|
||||
},
|
||||
"code": {
|
||||
"font": "code",
|
||||
"size": 12,
|
||||
"color": "text",
|
||||
"background": "codeBg",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 0,
|
||||
"line": 1.4
|
||||
}
|
||||
},
|
||||
"pre": {
|
||||
"font": "code",
|
||||
"size": 12,
|
||||
"color": "text",
|
||||
"background": "codeBg",
|
||||
"padding": 12,
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.4
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"ul": {
|
||||
"spacing": {
|
||||
"before": 8,
|
||||
"after": 8,
|
||||
"line": 1.5
|
||||
},
|
||||
"indent": 24,
|
||||
"bullet": "square"
|
||||
},
|
||||
"ol": {
|
||||
"spacing": {
|
||||
"before": 8,
|
||||
"after": 8,
|
||||
"line": 1.5
|
||||
},
|
||||
"indent": 24,
|
||||
"numbering": "decimal"
|
||||
},
|
||||
"li": {
|
||||
"font": "body",
|
||||
"size": 14,
|
||||
"color": "text",
|
||||
"spacing": {
|
||||
"before": 4,
|
||||
"after": 4,
|
||||
"line": 1.5
|
||||
},
|
||||
"bold": true
|
||||
},
|
||||
"strong": {
|
||||
"font": "heading",
|
||||
"bold": true,
|
||||
"color": "accent"
|
||||
},
|
||||
"em": {
|
||||
"font": "body",
|
||||
"italic": true
|
||||
},
|
||||
"a": {
|
||||
"font": "body",
|
||||
"color": "0D47A1",
|
||||
"underline": true,
|
||||
"bold": true
|
||||
},
|
||||
"table": {
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 16,
|
||||
"line": 1.3
|
||||
},
|
||||
"border": {
|
||||
"color": "212121",
|
||||
"width": 2,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"th": {
|
||||
"font": "heading",
|
||||
"size": 12,
|
||||
"color": "FFFFFF",
|
||||
"bold": true,
|
||||
"background": "212121",
|
||||
"padding": 10,
|
||||
"allCaps": true
|
||||
},
|
||||
"td": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "212121",
|
||||
"padding": 10,
|
||||
"borderBottom": {
|
||||
"color": "BDBDBD",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"hr": {
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 24
|
||||
},
|
||||
"border": {
|
||||
"color": "accent",
|
||||
"width": 4,
|
||||
"style": "double"
|
||||
}
|
||||
},
|
||||
"img": {
|
||||
"align": "center",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 16
|
||||
}
|
||||
},
|
||||
"del": {
|
||||
"font": "body",
|
||||
"strikethrough": true
|
||||
},
|
||||
"sup": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"superScript": true
|
||||
},
|
||||
"sub": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"subScript": true
|
||||
},
|
||||
"mark": {
|
||||
"font": "body",
|
||||
"background": "FFEA00",
|
||||
"color": "text"
|
||||
},
|
||||
"footnote": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"superScript": true
|
||||
},
|
||||
"footnoteRef": {
|
||||
"font": "body",
|
||||
"size": 11,
|
||||
"color": "textSecondary",
|
||||
"spacing": {
|
||||
"before": 6,
|
||||
"after": 6,
|
||||
"line": 1.3
|
||||
}
|
||||
}
|
||||
},
|
||||
"page": {
|
||||
"margins": {
|
||||
"top": 54,
|
||||
"bottom": 54,
|
||||
"left": 54,
|
||||
"right": 54
|
||||
},
|
||||
"columns": 1,
|
||||
"header": true,
|
||||
"footer": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user