MCPcopy
hub / github.com/nextlevelbuilder/ui-ux-pro-max-skill / section_header

Function section_header

cli/assets/scripts/design_system.py:283–287  ·  view source on GitHub ↗

Create a Unicode section separator: ├─── NAME ───...┤

(name: str, width: int)

Source from the content-addressed store, hash-verified

281
282
283def 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
290def format_ascii_box(design_system: dict) -> str:

Callers 1

format_ascii_boxFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected