Layout tree (as in design/layout.json)
{
"pattern": "content.hardware-design-notes",
"kind": "content",
"grid": {
"copy": "1-5",
"drawing": "6-12"
},
"slots": [
"label",
"statement",
"body",
"body2",
"image",
"caption"
],
"tree": {
"el": "grid",
"gap": 6,
"align": "start",
"children": [
{
"el": "box",
"span": "1-5",
"gap": 4,
"children": [
{
"el": "text",
"color": "link",
"slot": "label",
"role": "label",
"font": "mono"
},
{
"el": "text",
"slot": "statement",
"role": "h3",
"step": 4,
"weight": 600,
"tracking": "tight",
"leading": "tight",
"maxCh": 30
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body"
},
{
"el": "text",
"color": "textMuted",
"slot": "body2",
"role": "body"
}
]
},
{
"el": "box",
"span": "6-12",
"gap": 2,
"children": [
{
"el": "media",
"bg": "surface",
"slot": "image",
"aspect": "4/3",
"treatment": "technical-drawing",
"frame": "border"
},
{
"el": "text",
"color": "textMuted",
"slot": "caption",
"role": "small",
"font": "mono"
}
]
}
]
}
}