Skip to content

docs(themes): name the part before its position in recipes - #31760

Open
thetaPC wants to merge 1 commit into
ionic-modularfrom
recipe-conventions-leading-trailing
Open

thetaPC wants to merge 1 commit into
ionic-modularfrom
recipe-conventions-leading-trailing

Conversation

@thetaPC

@thetaPC thetaPC commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Issue number: internal


What is the current behavior?

The recipe conventions don't say whether a part or its position comes first, so a key like the button badge's margin could be named badge.leading.margin or leading.badge.margin.

What is the new behavior?

  • Adds "Name the part first, then its position" to docs/themes/recipes.md: a part comes first, then leading or trailing, then the property, as in chip's icon.leading.margin

Does this introduce a breaking change?

  • Yes
  • No

Other information

The button migration (#31628) and its badge tokens (#31647) follow the same order with icon, spinner and badge.

@thetaPC
thetaPC requested a review from a team as a code owner November 17, 2026 03:53
@thetaPC
thetaPC requested a review from ShaneK November 17, 2026 03:53
@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-framework Ready Ready Preview Nov 17, 2026 3:57am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 1ee21afb Deployed Nov 17, 2026 by vercel[bot]
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