Layout tree (as in design/layout.json)
{
"pattern": "list.seventies-rainbow-steps",
"kind": "list",
"grid": {
"dot": "1-1",
"number": "2-3",
"title": "4-7",
"body": "8-12"
},
"slots": [
"title",
"items[3..5]"
],
"notes": "The 8 px divider above each step is drawn as the style's wavy rule; there are no straight rules between steps.",
"tree": {
"el": "box",
"gap": 5,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"tracking": "tight",
"leading": "tight",
"maxCh": 20,
"rotate": -3
},
{
"el": "repeat",
"slot": "items",
"min": 3,
"max": 5,
"layout": "list",
"of": {
"el": "box",
"gap": 0,
"children": [
{
"el": "divider",
"weight": 8
},
{
"el": "grid",
"gap": 3,
"pad": [
4,
0
],
"align": "center",
"children": [
{
"el": "shape",
"span": "1-1",
"mobile": "hide",
"kind": "circle",
"size": "md",
"fill": "accent"
},
{
"el": "text",
"span": "2-3",
"color": "link",
"slot": "number",
"role": "number",
"step": 6,
"tracking": "tight",
"leading": "tight"
},
{
"el": "text",
"span": "4-7",
"slot": "title",
"role": "h3",
"tracking": "tight",
"leading": "tight"
},
{
"el": "text",
"span": "8-12",
"slot": "body",
"role": "body",
"maxCh": 44
}
]
}
]
}
}
]
}
}