Layout tree (as in design/layout.json)
{
"pattern": "features.risograph-folded-columns",
"kind": "features",
"grid": {
"block": "1-4",
"features": "5-12"
},
"slots": [
"sectionLabel",
"title",
"features[4..6]"
],
"tree": {
"el": "grid",
"gap": 3,
"align": "start",
"children": [
{
"el": "box",
"span": "1-4",
"bg": "accent",
"gap": 3,
"pad": [
5,
4
],
"children": [
{
"el": "text",
"color": "onAccent",
"slot": "sectionLabel",
"role": "eyebrow",
"font": "mono"
},
{
"el": "text",
"color": "onAccent",
"slot": "title",
"role": "h2",
"transform": "uppercase",
"maxCh": 14,
"rotate": -2
}
]
},
{
"el": "repeat",
"span": "5-12",
"slot": "features",
"min": 4,
"max": 6,
"layout": "masonry",
"cols": 2,
"gap": 3,
"of": {
"el": "box",
"gap": 2,
"pad": [
3,
3
],
"border": "all",
"children": [
{
"el": "text",
"color": "link",
"slot": "number",
"role": "number",
"step": 4
},
{
"el": "text",
"slot": "title",
"role": "h4",
"transform": "uppercase"
},
{
"el": "text",
"slot": "body",
"role": "small",
"maxCh": 40
}
]
}
}
]
}
}