Skip to content

ScreenWrapper.Section: its description is MD3 supporting text (MutedText) - #209

Merged
joelmsanto merged 1 commit into
mainfrom
screenwrapper/section-muted-description-2026-11-10
Nov 11, 2026
Merged

joelmsanto merged 1 commit into
mainfrom
screenwrapper/section-muted-description-2026-11-10

Conversation

@joelmsanto

Copy link
Copy Markdown
Contributor

A section's description (under its title) was a Text with a hand-picked scaled size, the light theme's onSurfaceVariant and a scaled 13 dp bottom padding. It is now MutedText (bodyMedium in the active theme's onSurfaceVariant) with the spacing token x3 below it.

  • src/ScreenWrapper/ScreenWrapperSection.js: the change.
  • src/ScreenWrapper/__tests__/ScreenWrapperSection.test.js: new; the description is MutedText under the subheader, and there is none without a description.

Tests: ScreenWrapper, MutedText, VendorList, Layout, StripeForm, 10 suites / 82 tests pass. No version bump and no publish.

🤖 Generated with Claude Code

…ext)

The description under a section's title was a Text with a hand-picked scaled size, the light theme's
onSurfaceVariant and a scaled 13 dp bottom padding. It is now MutedText (bodyMedium in the theme's
onSurfaceVariant, so it follows the active theme) with the spacing token x3 below it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joelmsanto
joelmsanto merged commit 275d433 into main Nov 11, 2026
1 check failed
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