Layout tree (as in design/layout.json)
{
"pattern": "testimonial.dot-quote-glyph",
"kind": "testimonial",
"grid": {
"main": "1-8",
"side": "9-12"
},
"slots": [
"quote",
"author",
"role",
"quotes[2..2]"
],
"tree": {
"el": "grid",
"gap": 3,
"align": "stretch",
"children": [
{
"el": "box",
"span": "1-8",
"bg": "surface",
"gap": 8,
"pad": [
10,
8
],
"justify": "between",
"radius": "md",
"children": [
{
"el": "shape",
"kind": "circle",
"size": "sm",
"fill": "accent"
},
{
"el": "text",
"slot": "quote",
"role": "quote",
"step": 4,
"weight": 700,
"leading": "tight",
"maxCh": 30
},
{
"el": "box",
"gap": 1,
"children": [
{
"el": "text",
"color": "heading",
"slot": "author",
"role": "body",
"weight": 700
},
{
"el": "text",
"color": "textMuted",
"slot": "role",
"role": "label",
"font": "mono"
}
]
}
]
},
{
"el": "repeat",
"span": "9-12",
"slot": "quotes",
"min": 2,
"max": 2,
"layout": "list",
"gap": 3,
"of": {
"el": "box",
"bg": "surfaceAlt",
"gap": 6,
"pad": [
6,
6
],
"justify": "between",
"radius": "md",
"children": [
{
"el": "text",
"slot": "body",
"role": "body",
"maxCh": 34
},
{
"el": "text",
"color": "heading",
"slot": "title",
"role": "label",
"font": "mono"
}
]
}
}
]
}
}