Create a Unicode section separator: ├─── NAME ───...┤
(name: str, width: int)
| 281 | |
| 282 | |
| 283 | def section_header(name: str, width: int) -> str: |
| 284 | """Create a Unicode section separator: ├─── NAME ───...┤""" |
| 285 | label = f"─── {name} " |
| 286 | fill = "─" * (width - len(label) - 1) |
| 287 | return f"├{label}{fill}┤" |
| 288 | |
| 289 | |
| 290 | def format_ascii_box(design_system: dict) -> str: |