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:
309
src-tauri/templates/core/public-transit.json
Normal file
309
src-tauri/templates/core/public-transit.json
Normal file
@@ -0,0 +1,309 @@
|
||||
{
|
||||
"id": "public-transit",
|
||||
"name": "Public Transit",
|
||||
"category": "Urban",
|
||||
"description": "Modern metro system aesthetic. Functional geometry, bold color lines, and universal symbols.",
|
||||
"vibe": "Urban, Connected, Systematic",
|
||||
"googleFontsImport": "https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Manrope: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": "Work Sans",
|
||||
"body": "Manrope",
|
||||
"code": "JetBrains Mono"
|
||||
},
|
||||
"colors": {
|
||||
"text": "111111",
|
||||
"textSecondary": "616161",
|
||||
"background": "FFFFFF",
|
||||
"accent": "F44336",
|
||||
"border": "E0E0E0",
|
||||
"codeBg": "F5F5F5",
|
||||
"blockquoteBorder": "2196F3"
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"h1": {
|
||||
"font": "heading",
|
||||
"size": 36,
|
||||
"color": "111111",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 24,
|
||||
"after": 12,
|
||||
"line": 1.1
|
||||
},
|
||||
"allCaps": true,
|
||||
"borderBottom": {
|
||||
"color": "accent",
|
||||
"width": 8,
|
||||
"style": "solid"
|
||||
}
|
||||
,
|
||||
"letterSpacing": -1.0
|
||||
},
|
||||
"h2": {
|
||||
"font": "heading",
|
||||
"size": 24,
|
||||
"color": "111111",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 20,
|
||||
"after": 10,
|
||||
"line": 1.2
|
||||
},
|
||||
"background": "FFC107",
|
||||
"padding": 8,
|
||||
"borderRadius": 50,
|
||||
"display": "inline-block"
|
||||
},
|
||||
"h3": {
|
||||
"font": "heading",
|
||||
"size": 18,
|
||||
"color": "2196F3",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 8,
|
||||
"line": 1.3
|
||||
}
|
||||
},
|
||||
"h4": {
|
||||
"font": "body",
|
||||
"size": 16,
|
||||
"color": "text",
|
||||
"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": "111111",
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 0,
|
||||
"after": 12,
|
||||
"line": 1.6
|
||||
}
|
||||
},
|
||||
"blockquote": {
|
||||
"font": "heading",
|
||||
"size": 16,
|
||||
"color": "111111",
|
||||
"bold": true,
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 16,
|
||||
"line": 1.4
|
||||
},
|
||||
"padding": 24,
|
||||
"borderLeft": {
|
||||
"color": "4CAF50",
|
||||
"width": 8,
|
||||
"style": "solid"
|
||||
},
|
||||
"background": "FAFAFA"
|
||||
},
|
||||
"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": 16,
|
||||
"spacing": {
|
||||
"before": 16,
|
||||
"after": 16,
|
||||
"line": 1.4
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
},
|
||||
"borderRadius": 4
|
||||
},
|
||||
"ul": {
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 24,
|
||||
"bullet": "circle"
|
||||
},
|
||||
"ol": {
|
||||
"spacing": {
|
||||
"before": 12,
|
||||
"after": 12,
|
||||
"line": 1.6
|
||||
},
|
||||
"indent": 24,
|
||||
"numbering": "decimal"
|
||||
},
|
||||
"li": {
|
||||
"font": "body",
|
||||
"size": 14,
|
||||
"color": "text",
|
||||
"spacing": {
|
||||
"before": 4,
|
||||
"after": 4,
|
||||
"line": 1.6
|
||||
}
|
||||
},
|
||||
"strong": {
|
||||
"font": "heading",
|
||||
"bold": true
|
||||
},
|
||||
"em": {
|
||||
"font": "body",
|
||||
"italic": true
|
||||
},
|
||||
"a": {
|
||||
"font": "heading",
|
||||
"color": "2196F3",
|
||||
"underline": true,
|
||||
"bold": true
|
||||
},
|
||||
"table": {
|
||||
"spacing": {
|
||||
"before": 20,
|
||||
"after": 20,
|
||||
"line": 1.3
|
||||
},
|
||||
"border": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"th": {
|
||||
"font": "heading",
|
||||
"size": 12,
|
||||
"color": "FFFFFF",
|
||||
"bold": true,
|
||||
"background": "111111",
|
||||
"padding": 12
|
||||
},
|
||||
"td": {
|
||||
"font": "body",
|
||||
"size": 14,
|
||||
"color": "text",
|
||||
"padding": 12,
|
||||
"borderBottom": {
|
||||
"color": "border",
|
||||
"width": 1,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"hr": {
|
||||
"spacing": {
|
||||
"before": 32,
|
||||
"after": 32
|
||||
},
|
||||
"border": {
|
||||
"color": "E0E0E0",
|
||||
"width": 4,
|
||||
"style": "solid"
|
||||
}
|
||||
},
|
||||
"img": {
|
||||
"align": "left",
|
||||
"spacing": {
|
||||
"before": 20,
|
||||
"after": 20
|
||||
},
|
||||
"borderRadius": 4
|
||||
},
|
||||
"del": {
|
||||
"font": "body",
|
||||
"strikethrough": true,
|
||||
"color": "textSecondary"
|
||||
},
|
||||
"sup": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"superScript": true
|
||||
},
|
||||
"sub": {
|
||||
"font": "body",
|
||||
"size": 10,
|
||||
"subScript": true
|
||||
},
|
||||
"mark": {
|
||||
"font": "body",
|
||||
"background": "FFEB3B",
|
||||
"color": "000000"
|
||||
},
|
||||
"footnote": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"color": "textSecondary",
|
||||
"superScript": true
|
||||
},
|
||||
"footnoteRef": {
|
||||
"font": "body",
|
||||
"size": 12,
|
||||
"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