Layout tree (as in design/layout.json)
{
"pattern": "list.athletic-fixture-list",
"kind": "list",
"grid": {
"date": "1-2",
"match": "3-7",
"venue": "8-10",
"action": "11-12"
},
"slots": [
"title",
"cta",
"items[4..8]"
],
"tree": {
"el": "box",
"gap": 4,
"children": [
{
"el": "box",
"dir": "row",
"gap": 3,
"align": "baseline",
"justify": "between",
"wrap": true,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"transform": "uppercase",
"weight": 900,
"italic": true,
"leading": "tight"
},
{
"el": "button",
"slot": "cta",
"variant": "link",
"arrow": true
}
]
},
{
"el": "repeat",
"slot": "items",
"min": 4,
"max": 8,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"gap": 2,
"pad": [
2,
0
],
"align": "center",
"children": [
{
"el": "text",
"span": "1-2",
"slot": "meta",
"role": "label",
"font": "mono"
},
{
"el": "text",
"span": "3-7",
"slot": "title",
"role": "h3",
"transform": "uppercase",
"weight": 800,
"italic": true,
"leading": "tight"
},
{
"el": "text",
"span": "8-10",
"slot": "body",
"role": "small"
},
{
"el": "button",
"span": "11-12",
"slot": "cta",
"variant": "secondary",
"size": "sm"
}
]
}
}
]
}
}