Skip to content

feat(chip): sync the ionic theme with the design kit - #31783

Merged
thetaPC merged 13 commits into
chip-ios-syncfrom
chip-ionic-sync
Nov 20, 2026
Merged

thetaPC merged 13 commits into
chip-ios-syncfrom
chip-ionic-sync

Conversation

@thetaPC

@thetaPC thetaPC commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Issue number: internal


What is the current behavior?

The ionic chip uses a 14px label on large chips with a 100% line height, and 6px 8px padding. Its neutral colors don't match the design, and outline chips are filled. Chips without a color have no hover state, and a slotted icon is 16px at both sizes.

What is the new behavior?

The ionic chip follows the read-only Tag in the ionic theme design:

  • 12px label at both sizes, with a 20px line height
  • 0 8px padding. Heights stay 32px and 24px
  • Subtle chips are #f6f7fa with #6c727a text, and bold chips are #383e45 with white text. Colored chips keep their palette colors
  • A leading or trailing avatar sits 4px from the edge instead of 8px. Avatars keep the size from their own size prop
  • A slotted icon is 12px on small chips and stays 16px on large ones
  • icon.font.size moves under each size (for example IonChip.size.small.icon.font.size), so md and ios repeat their value in both sizes and look the same
  • The size test now screenshots each size with an icon and with an avatar, in every theme

The Tag has no outline or hover, so these follow the md chip with ionic colors:

  • Outline chips are no longer filled. Subtle ones keep their #e0e0e0 border with #6c727a text. Bold ones have a #383e45 border and text, like the ionic outline button. Colored outline chips use the palette's foreground for the text, with its base for the border on bold chips and its subtle shade on subtle ones, like the ionic outline buttons
  • Hover backgrounds: #e6eaee for subtle, #31373d for bold, and #f6f7fa for outline. Colored chips use the palette's shade, as on the ionic button
  • The ripple shows the press, as in md

Does this introduce a breaking change?

  • Yes
  • No

The ionic theme has not been released.

Other information

Check Before After What to look for
Sizes and icons Before After Large chips have a smaller label and are narrower at the same height. Icons on small chips are smaller. Avatars sit closer to the edge
Colors and outline Before After Neutral chips are slightly cooler gray. Outline chips have no fill
States Before After Hover a chip: the background darkens. Tap one: the ripple plays

@thetaPC
thetaPC added this pull request to stack #31781 November 19, 2026 00:20
@vercel

vercel Bot commented Nov 19, 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 20, 2026 5:39pm UTC

Request Review

@thetaPC
thetaPC marked this pull request as ready for review November 19, 2026 01:43
@thetaPC
thetaPC requested a review from a team as a code owner November 19, 2026 01:43

@ShaneK ShaneK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Left a few comments.

Comment thread core/src/components/chip/chip.scss Resolved
Comment thread core/src/themes/ionic/default.tokens.ts Resolved
# Conflicts:
#	core/src/components/chip/chip.interface.ts
#	core/src/components/chip/chip.scss
#	core/src/themes/ios/default.tokens.ts
#	core/src/themes/md/default.tokens.ts

@brandyscarney brandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but left one comment!

Comment thread core/src/themes/ionic/default.tokens.ts Resolved
@thetaPC
thetaPC merged commit 98029ab into ionic-modular Nov 20, 2026
55 checks passed
@thetaPC
thetaPC deleted the chip-ionic-sync branch November 20, 2026 18:09

This branch was successfully deployed

1 active deployment
Preview — 470b64a2 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants