Layout tree (as in design/layout.json)
{
"pattern": "cta.bento-terminal-tile",
"kind": "cta",
"grid": {
"main": "1-8",
"command": "9-12"
},
"slots": [
"headline",
"body",
"newsletter",
"meta",
"caption",
"cta"
],
"tree": {
"el": "grid",
"gap": 3,
"align": "stretch",
"children": [
{
"el": "box",
"span": "1-8",
"bg": "accent",
"gap": 3,
"pad": [
10,
8
],
"children": [
{
"el": "text",
"color": "onAccent",
"slot": "headline",
"role": "h2",
"step": 4,
"weight": 600,
"tracking": "tight",
"maxCh": 20
},
{
"el": "text",
"color": "onAccent",
"slot": "body",
"role": "body",
"maxCh": 44
},
{
"el": "form",
"slot": "newsletter",
"fields": [
"email"
],
"inline": true
}
]
},
{
"el": "box",
"span": "9-12",
"bg": "surfaceAlt",
"gap": 3,
"pad": [
6,
6
],
"justify": "between",
"border": "all",
"children": [
{
"el": "text",
"slot": "meta",
"role": "body",
"font": "mono"
},
{
"el": "text",
"slot": "caption",
"role": "small"
},
{
"el": "button",
"slot": "cta",
"variant": "secondary"
}
]
}
]
}
}