Layout tree (as in design/layout.json)
{
"pattern": "list.maximalist-ransom-index",
"kind": "list",
"grid": {
"number": "1-2",
"title": "3-9",
"thumb": "10-12"
},
"slots": [
"sectionLabel",
"items[4..7]"
],
"tree": {
"el": "box",
"gap": 3,
"children": [
{
"el": "text",
"bg": "accent2",
"color": "onAccent2",
"slot": "sectionLabel",
"role": "eyebrow",
"transform": "uppercase",
"font": "mono"
},
{
"el": "repeat",
"slot": "items",
"min": 4,
"max": 7,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"gap": 2,
"pad": [
2,
0
],
"align": "center",
"children": [
{
"el": "text",
"span": "1-2",
"color": "link",
"slot": "number",
"role": "number",
"step": 3,
"font": "mono"
},
{
"el": "box",
"span": "3-9",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 400,
"leading": "tight"
},
{
"el": "text",
"slot": "body",
"role": "body",
"maxCh": 52
}
]
},
{
"el": "media",
"span": "10-12",
"mobile": "hide",
"slot": "image",
"aspect": "1/1",
"treatment": "photo",
"frame": "circle"
}
]
}
}
]
}
}