Skip to content

redesign(settings): two-column split sections, previewed on General - #2017

Closed
jackwener wants to merge 1 commit into
mainfrom
redesign/settings-split-preview
Closed

jackwener wants to merge 1 commit into
mainfrom
redesign/settings-split-preview

Conversation

@jackwener

Copy link
Copy Markdown
Member

The premium study called the Astryx settings template's two-column form (title + lede left, fields right, Grid columns={{minWidth: 320}} gap={10}) the single biggest visual gap between Maka's settings and the template. This PR lands it as an opt-in kit capability, previewed on the General page only, for sign-off before sweeping all pages.

  • SettingsSection gains layout="split" — header column + body column, no anchor Divider (the column seam carries the grouping); stacked stays the default.
  • Split is gated on a container query (.settingsPageStack becomes an inline-size container): a section splits only where its page grants a wide content column. General widens to contentWidth 1040; the 身份 section General composes from the appearance page splits inside General yet stays stacked on 外观's 640 column — same code, both correct automatically.
  • General's five groups adopt the split.

Layout-only: no logic or a11y changes (headings/ids/roles untouched). Verification: build ✅ typecheck ✅ format ✅ dead-css ✅ checks ✅ smoke 74×3 ✅. Screenshot in the work thread — awaiting the sweep-or-revert verdict there before converting the remaining pages.

The premium study named the Astryx settings template's two-column form
(title + lede in a left column, fields right, 40px between) the single
biggest visual difference between Maka's settings and the template.
This lands it as an opt-in kit capability, previewed on ONE page for
sign-off before sweeping:

- SettingsSection gains layout='split': header column + body column,
  no anchor Divider (the column seam carries the grouping). Stacked
  layout stays the default.
- The split is gated on a page-stack CONTAINER query, not the
  viewport: .settingsPageStack becomes an inline-size container and
  sections split only where the page actually grants a wide content
  column. General widens to contentWidth 1040; the identity section it
  composes from the appearance page splits inside General but stays
  stacked on the 外观 page's 640 column — same code, both correct.
- General's five groups adopt the split.

Self-reviewed per the standing instruction: layout-only, no logic or
a11y changes (headings/ids/roles untouched); dead-css/typecheck/
format/checks/smoke all green; screenshot posted for the sweep
decision.
@jackwener

Copy link
Copy Markdown
Member Author

Closed per design review: the two-column form fights maka's calm narrow-column settings character. Keeping the selective-adoption principle — only template patterns that fit maka land.

@jackwener jackwener closed this Aug 3, 2026
@jackwener
jackwener deleted the redesign/settings-split-preview branch August 3, 2026 13:32
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