Skip to content

docs(migration): note the Button outline color and wider Banner actions - #5196

Merged
Doberjohn merged 1 commit into
mainfrom
docs/button-guide-followup
Nov 9, 2026
Merged

Doberjohn merged 1 commit into
mainfrom
docs/button-guide-followup

Conversation

@Doberjohn

Copy link
Copy Markdown
Collaborator

Motivation

The Button "Appearance changes" list in the migration guide missed two differences from 5.x:

  • The outlined outline is drawn in outlineVariant instead of outline, disabled or not (5.x used surfaceDisabled when disabled), so a theme that recolored it through outline no longer does. This changed in feat: add DynamicTheme using PlatformColor #4901.
  • Banner actions are plain text buttons now that compact is gone: 16dp of horizontal padding instead of 8dp, and the 64dp minimum width.

Snackbar actions were never compact on MD3, so the existing padding line covers them.

Related issue

Follow-up to #5097

Screenshots / Videos

Docs only

Test plan

  • yarn --cwd docs build passes; the section renders on the dev server.
  • yarn lint passes.
  • Both lines checked against Button/utils.tsx and Banner.tsx on main and v5.15.4.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Found potential problems with the pull request:

  • Screenshot or video evidence is missing. Make sure to include one if it affects the UI.

@Doberjohn
Doberjohn merged commit c87c351 into main Nov 9, 2026
13 checks passed
@Doberjohn
Doberjohn deleted the docs/button-guide-followup branch November 9, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant