Layout tree (as in design/layout.json)
{
"pattern": "features.midcentury-shape-catalogue",
"kind": "features",
"grid": {
"intro": "1-4",
"features": "5-12"
},
"slots": [
"sectionLabel",
"title",
"features[4..6]"
],
"tree": {
"el": "grid",
"gap": 3,
"rowGap": 6,
"children": [
{
"el": "box",
"span": "1-4",
"alignSelf": "start",
"gap": 3,
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "eyebrow",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"tracking": "tight",
"leading": "tight",
"maxCh": 12
},
{
"el": "shape",
"kind": "half-circle",
"size": "lg",
"fill": "accent"
}
]
},
{
"el": "repeat",
"span": "5-12",
"slot": "features",
"min": 4,
"max": 6,
"layout": "grid",
"cols": 2,
"gap": 6,
"of": {
"el": "box",
"mobile": "keep",
"dir": "row",
"gap": 3,
"align": "start",
"children": [
{
"el": "shape",
"kind": "circle",
"size": "md",
"fill": "accent2"
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h3"
},
{
"el": "text",
"slot": "body",
"role": "body",
"maxCh": 40
}
]
}
]
}
}
]
}
}