Skip to content

Redo the design-system page layout - #376

Merged
athNdev merged 1 commit into
mainfrom
docs/design-system-redo
Nov 7, 2026
Merged

athNdev merged 1 commit into
mainfrom
docs/design-system-redo

Conversation

@athNdev

@athNdev athNdev commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Problem

The shipped layout broke down below desktop width: prop tables squeezed their
columns until type unions wrapped mid-token, coverage badges fell out of the
header row as plain text, and demo blocks stacked without captions or rhythm
(see the attached viewport screenshot).

Redo

  • Every component now pairs a captioned demo pane with a scrollable prop
    table
    (.props-scroll, min-width: 600px, fixed Prop/Default columns).
    Tables never squeeze; narrow viewports scroll the pane, not the page.
  • Coverage badges are fixed pills pinned to the header row.
  • Demo groups (button kinds/sizes/states, tag types, search sizes, field
    states) each carry a label and follow one spacing rhythm: 24px pane
    padding, 24px group gaps, 10px label-to-content.
  • Demo tables and structured lists size naturally instead of forcing a
    380px minimum that overflowed small panes.
  • Content is unchanged: all 19 sections, prop tables, notes, token values,
    metadata and link counts are intact.

Verification

  • python -m unittest scripts.test_design_system_page scripts.test_website scripts.test_landing_page — 19 pass.
  • build_website.py, check_website.py (27 pages), check_brand_assets.py — pass.
  • knowledge-lint — 36 concepts, indexes current.
  • Headless Chrome at 1440, 768 and 360 CSS px: scrollWidth == clientWidth
    everywhere; clipped screenshots of button, header, tabs and modal sections
    reviewed in dark, plus the button section in light.
  • Both changelog copies byte-identical.

Pair every component demo with a scrollable prop table, fix badge
placement, and give demo groups one spacing rhythm. Prop tables keep
their full width inside a scroll pane at 360, 768 and 1440 px instead
of squeezing; demos carry captions so each block is self-describing.
@athNdev
athNdev merged commit ae33712 into main Nov 7, 2026
12 checks passed
@athNdev
athNdev deleted the docs/design-system-redo branch November 7, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant