Layout tree (as in design/layout.json)
{
"pattern": "content.terminal-readme",
"kind": "content",
"grid": {
"file": "1-8",
"aside": "9-12"
},
"slots": [
"sectionLabel",
"meta",
"title",
"body",
"body2",
"cta",
"caption"
],
"notes": "Prefix the title with an accent \"# \" so it reads as markdown.",
"tree": {
"el": "grid",
"gap": 4,
"align": "end",
"children": [
{
"el": "box",
"span": "1-8",
"border": "all",
"children": [
{
"el": "box",
"mobile": "keep",
"dir": "row",
"gap": 2,
"pad": [
1,
3
],
"align": "center",
"justify": "between",
"wrap": true,
"border": "bottom",
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "sectionLabel",
"role": "small"
},
{
"el": "text",
"color": "textMuted",
"slot": "meta",
"role": "small"
}
]
},
{
"el": "box",
"gap": 3,
"pad": [
5,
4
],
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 3
},
{
"el": "text",
"slot": "body",
"role": "body",
"maxCh": 72
},
{
"el": "text",
"slot": "body2",
"role": "body",
"maxCh": 72
},
{
"el": "button",
"slot": "cta",
"variant": "link"
}
]
}
]
},
{
"el": "text",
"span": "9-12",
"color": "textMuted",
"alignSelf": "end",
"slot": "caption",
"role": "small"
}
]
}
}