(container: HTMLElement, el: PropEl)
| 519 | } |
| 520 | |
| 521 | function appendTypographySection(container: HTMLElement, el: PropEl) { |
| 522 | const sec = propSection("Typography"); |
| 523 | sec.appendChild(makeStyleRow("Color", "color", styleVal(el, "color"), "color")); |
| 524 | sec.appendChild(makeStyleRow("Size", "fontSize", styleVal(el, "fontSize"), "text")); |
| 525 | sec.appendChild( |
| 526 | makeStyleRow("Weight", "fontWeight", styleVal(el, "fontWeight"), "select", WEIGHTS), |
| 527 | ); |
| 528 | container.appendChild(sec); |
| 529 | } |
| 530 | |
| 531 | function appendBoxSection(container: HTMLElement, el: PropEl) { |
| 532 | const sec = propSection("Box"); |
no test coverage detected