Layout tree (as in design/layout.json)
{
"pattern": "list.constructivist-manifesto",
"kind": "list",
"grid": {
"number": "1-3",
"title": "4-9",
"body": "10-12"
},
"slots": [
"sectionLabel",
"items[3..5]"
],
"tree": {
"el": "box",
"gap": 2,
"children": [
{
"el": "text",
"slot": "sectionLabel",
"role": "label",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "divider",
"weight": 8
},
{
"el": "repeat",
"slot": "items",
"min": 3,
"max": 5,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"gap": 2,
"rowGap": 2,
"pad": [
2,
0
],
"align": "start",
"children": [
{
"el": "text",
"span": "1-3",
"color": "link",
"alignSelf": "start",
"slot": "number",
"role": "number",
"step": 6,
"leading": "tight"
},
{
"el": "grid",
"span": "4-12",
"alignSelf": "center",
"cols": 9,
"gap": 2,
"rowGap": 2,
"children": [
{
"el": "text",
"span": "1-6",
"slot": "title",
"role": "h2",
"step": 4,
"transform": "uppercase",
"tracking": "tight",
"leading": "tight",
"maxCh": 20
},
{
"el": "text",
"span": "7-9",
"alignSelf": "end",
"slot": "body",
"role": "lead",
"maxCh": 32
}
]
}
]
}
}
]
}
}