Layout tree (as in design/layout.json)
{
"pattern": "features.broadsheet-section-index",
"kind": "features",
"grid": {
"label": "1-3",
"index": "4-12"
},
"slots": [
"sectionLabel",
"title",
"features[3..6]"
],
"tree": {
"el": "grid",
"gap": 3,
"children": [
{
"el": "box",
"span": "1-3",
"alignSelf": "start",
"gap": 1,
"children": [
{
"el": "text",
"slot": "sectionLabel",
"role": "label",
"transform": "uppercase",
"weight": 700,
"tracking": "wide"
},
{
"el": "text",
"slot": "title",
"role": "h3",
"italic": true,
"maxCh": 16,
"font": "body"
}
]
},
{
"el": "repeat",
"span": "4-12",
"slot": "features",
"min": 3,
"max": 6,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"gap": 3,
"pad": [
2,
0
],
"align": "baseline",
"children": [
{
"el": "text",
"span": "1-2",
"slot": "number",
"role": "number",
"step": 3,
"weight": 700,
"leading": "tight",
"font": "body"
},
{
"el": "text",
"span": "3-6",
"slot": "title",
"role": "h3",
"weight": 700,
"leading": "tight",
"font": "body"
},
{
"el": "text",
"span": "7-12",
"slot": "body",
"role": "small",
"font": "body"
}
]
}
}
]
}
}