Skip to content

fix(core/chip|pill): update padding and colors#2502

Open
nuke-ellington wants to merge 4 commits intomainfrom
fix-chip-padding
Open

fix(core/chip|pill): update padding and colors#2502
nuke-ellington wants to merge 4 commits intomainfrom
fix-chip-padding

Conversation

@nuke-ellington
Copy link
Copy Markdown
Collaborator

@nuke-ellington nuke-ellington commented Apr 17, 2026

💡 What is the current behavior?

GitHub Issue Number: #

🆕 What is the new behavior?

Fix hover and active background colors of filled status chips (alarm, critical, warning, info, neutral, success) to use the correct design tokens (--theme-color-*--hover / --theme-color-*--active) instead of a semi-transparent black overlay, aligning the rendered result with the Figma specification. Custom color chips retain the overlay approach. Chip padding is also corrected to be uniform across icon and non-icon variants.

🏁 Checklist

A pull request can only be merged if all of these conditions are met (where applicable):

  • 🦮 Accessibility (a11y) features were implemented
  • 🗺️ Internationalization (i18n) - no hard coded strings
  • 📲 Responsiveness - components handle viewport changes and content overflow gracefully
  • 📕 Add or update a Storybook story
  • 📄 Documentation was reviewed/updated siemens/ix-docs
  • 🧪 Unit tests were added/updated and pass (pnpm test)
  • 📸 Visual regression tests were added/updated and pass (Guide)
  • 🧐 Static code analysis passes (pnpm lint)
  • 🏗️ Successful compilation (pnpm build, changes pushed)

👨‍💻 Help & support

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 17, 2026

🦋 Changeset detected

Latest commit: 5146cf8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@siemens/ix Patch
@siemens/ix-angular Patch
@siemens/ix-docs Patch
@siemens/ix-react Patch
@siemens/ix-vue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nuke-ellington nuke-ellington marked this pull request as draft April 17, 2026 12:06
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the chip component to use specific design tokens for hover and active states on filled status chips, replacing the previous semi-transparent overlay method. It also simplifies and standardizes padding across various chip variants while retaining the overlay approach for custom-colored chips. Feedback was provided regarding an inconsistency in the right padding for outline chips that could cause visual regressions, along with a reminder to update the pull request description and include the mandatory IX issue reference as required by the style guide.

Comment thread packages/core/src/components/chip/chip-mixin.scss Outdated
Comment thread .changeset/chip-status-hover-active-colors.md
@nuke-ellington nuke-ellington marked this pull request as ready for review April 20, 2026 15:53
@sonarqubecloud
Copy link
Copy Markdown

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.

2 participants