Add shared card schemas layouts and renderer
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"$schema": "../schemas/card-template.schema.json",
|
||||
"schema": "esc-card-template.v1",
|
||||
"id": "karta-klasyczna",
|
||||
"name": "Karta klasyczna",
|
||||
"version": "1.0",
|
||||
"description": "Dotychczasowy portretowy layout generatora: metryczka, marginesy z drzewkami po bokach, sekcje pełnej karty i słownik.",
|
||||
"tokens": {
|
||||
"page": {
|
||||
"format": "a4",
|
||||
"orientation": "portrait",
|
||||
"paper": "#ffffff",
|
||||
"margin_cm": {
|
||||
"left": 2.15,
|
||||
"right": 2.15,
|
||||
"top": 2.2,
|
||||
"bottom": 2.2
|
||||
}
|
||||
},
|
||||
"grid": {
|
||||
"columns": [
|
||||
"116px",
|
||||
"minmax(0, 1fr)",
|
||||
"116px"
|
||||
],
|
||||
"gap_px": 18
|
||||
},
|
||||
"typography": {
|
||||
"text": "Georgia, Times New Roman, serif",
|
||||
"mono": "Latin Modern Mono, ui-monospace, SFMono-Regular, Consolas, monospace",
|
||||
"body_px": 17,
|
||||
"margin_px": 7
|
||||
},
|
||||
"colors": {
|
||||
"paper": "#ffffff",
|
||||
"desk": "#eeeeee",
|
||||
"ink": "#111111",
|
||||
"muted": "#666666",
|
||||
"line": "#b9b9b9",
|
||||
"line_soft": "#dddddd",
|
||||
"we": "#e00000",
|
||||
"og": "#008000",
|
||||
"tech": "#d36b00",
|
||||
"kw": "#0018c8"
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"section_box": "classic_section",
|
||||
"metric_header": "classic_front_matter",
|
||||
"margin_tree_panel": "classic_margin_notes",
|
||||
"checkbox_row": "classic_empty_check",
|
||||
"agenda_grid": "classic_compact_agenda",
|
||||
"theory_table": "classic_tabularx",
|
||||
"tech_stack_table": "classic_tabularx",
|
||||
"footer": "classic_fancyhdr",
|
||||
"fill_in_line": "classic_dotfill"
|
||||
},
|
||||
"block_map": {
|
||||
"front_matter": "metric_header",
|
||||
"front_page_scope": "classic_scope",
|
||||
"objectives": "section_box",
|
||||
"agenda": "section_box",
|
||||
"hw_gate": "section_box",
|
||||
"theory_refs": "section_box",
|
||||
"tech_stack": "section_box",
|
||||
"sections": "section_box",
|
||||
"bibliography": "section_box",
|
||||
"dictionary": "dictionary_page"
|
||||
},
|
||||
"emitters": {
|
||||
"html": "classic",
|
||||
"latex": "classic"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user