Layout tree (as in design/layout.json)
{
"pattern": "features.synthwave-cassette-grid",
"kind": "features",
"grid": {
"header": "1-12",
"cassettes": "1-12"
},
"slots": [
"sectionLabel",
"title",
"features[4..6]"
],
"tree": {
"el": "box",
"gap": 4,
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "label",
"align": "center",
"font": "mono"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 4,
"align": "center",
"transform": "uppercase",
"weight": 900,
"tracking": "wide",
"leading": "tight",
"maxCh": 22
},
{
"el": "repeat",
"slot": "features",
"min": 4,
"max": 6,
"layout": "grid",
"cols": 2,
"gap": 4,
"of": {
"el": "box",
"bg": "surface",
"gap": 2,
"pad": [
4,
4
],
"border": "all",
"children": [
{
"el": "box",
"mobile": "keep",
"dir": "row",
"align": "center",
"justify": "between",
"children": [
{
"el": "text",
"color": "link",
"slot": "number",
"role": "label",
"font": "mono"
},
{
"el": "shape",
"kind": "circle",
"size": "sm",
"fill": "accent2"
}
]
},
{
"el": "divider",
"weight": 1
},
{
"el": "text",
"slot": "title",
"role": "h3",
"transform": "uppercase",
"weight": 700
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 46
}
]
}
}
]
}
}