Layout tree (as in design/layout.json)
{
"pattern": "list.constructivist-manifesto",
"kind": "list",
"grid": {
"number": "1-3",
"thesis": "4-12",
"body": "6-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": [
3,
0
],
"align": "start",
"children": [
{
"el": "text",
"span": "1-3",
"color": "link",
"alignSelf": "start",
"slot": "number",
"role": "number",
"step": 7,
"leading": "tight"
},
{
"el": "grid",
"span": "4-12",
"alignSelf": "center",
"cols": 9,
"gap": 2,
"rowGap": 3,
"children": [
{
"el": "text",
"span": "1-9",
"slot": "title",
"role": "h2",
"step": 4,
"transform": "uppercase",
"tracking": "tight",
"leading": "tight",
"maxCh": 28
},
{
"el": "text",
"span": "3-9",
"slot": "body",
"role": "body",
"maxCh": 56
}
]
}
]
}
}
]
}
}