Layout tree (as in design/layout.json)
{
"pattern": "features.claymorphism-app-drawer",
"kind": "features",
"grid": {
"title": "1-7",
"intro": "8-12"
},
"slots": [
"title",
"body",
"features[8..8]"
],
"tree": {
"el": "box",
"gap": 8,
"children": [
{
"el": "grid",
"gap": 5,
"children": [
{
"el": "text",
"span": "1-7",
"slot": "title",
"role": "h2",
"step": 6,
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 18
},
{
"el": "text",
"span": "8-12",
"color": "textMuted",
"alignSelf": "end",
"slot": "body",
"role": "body",
"maxCh": 40
}
]
},
{
"el": "repeat",
"slot": "features",
"min": 8,
"max": 8,
"layout": "grid",
"cols": 4,
"phoneCols": 2,
"gap": 4,
"of": {
"el": "box",
"bg": "surface",
"gap": 2,
"pad": [
4,
4
],
"children": [
{
"el": "media",
"slot": "image",
"aspect": "1/1",
"treatment": "clay",
"frame": "rounded"
},
{
"el": "text",
"slot": "title",
"role": "h4",
"step": 1,
"weight": 700
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "small",
"maxCh": 28
}
]
}
}
]
}
}