Layout tree (as in design/layout.json)
{
"pattern": "blog.dot-log-list",
"kind": "blog",
"grid": {
"intro": "1-4",
"rows": "5-12"
},
"slots": [
"sectionLabel",
"title",
"cta",
"posts[4..4]"
],
"tree": {
"el": "grid",
"gap": 6,
"children": [
{
"el": "box",
"span": "1-4",
"gap": 4,
"children": [
{
"el": "box",
"alignSelf": "start",
"dir": "row",
"pad": [
1,
4
],
"align": "center",
"border": "all",
"radius": "full",
"children": [
{
"el": "text",
"color": "text",
"slot": "sectionLabel",
"role": "label",
"font": "mono"
}
]
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 700,
"leading": "tight",
"maxCh": 12
},
{
"el": "button",
"slot": "cta",
"variant": "link",
"arrow": true
}
]
},
{
"el": "repeat",
"span": "5-12",
"slot": "posts",
"min": 4,
"max": 4,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"cols": 12,
"gap": 3,
"pad": [
4,
0
],
"align": "baseline",
"children": [
{
"el": "text",
"span": "1-3",
"color": "textMuted",
"slot": "meta",
"role": "label",
"font": "mono"
},
{
"el": "box",
"span": "4-10",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h4",
"weight": 700,
"font": "body"
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "small",
"maxCh": 56
}
]
},
{
"el": "text",
"span": "11-12",
"color": "link",
"slot": "number",
"role": "label",
"font": "mono"
}
]
}
}
]
}
}