Skip to content

fix(button-group): fix button group colors in selected state#2219

Merged
rkaraivanov merged 2 commits into
masterfrom
didimmmova/fix-button-group-colors
May 8, 2026
Merged

fix(button-group): fix button group colors in selected state#2219
rkaraivanov merged 2 commits into
masterfrom
didimmmova/fix-button-group-colors

Conversation

@didimmova
Copy link
Copy Markdown
Contributor

Closes #2199

test with this theming pr - IgniteUI/igniteui-theming#571

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to change)
  • Documentation update
  • Refactoring (code improvements without functional changes)

Related Issues

Closes #

Testing

Checklist

  • My code follows the project's coding standards
  • I have tested my changes locally
  • I have updated documentation if needed
  • Breaking changes are documented in the description

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the border color used for igc-toggle-button inside igc-button-group when the toggle button is selected + focused (and selected + focused + hover), aligning the border color token with the correct visual state so borders don’t appear as mismatched outlines (notably in Bootstrap, per #2199).

Changes:

  • Swaps the border-color tokens for selected “focused” vs selected “focused + hover” states so each state uses its corresponding border token.
  • Removes Indigo-specific selected border overrides so the shared/common selected-state border styling can apply consistently across interactions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/components/button-group/themes/shared/button/button.indigo.scss Removes selected-state border overrides for the focused toggle part, relying on shared/common state styling.
src/components/button-group/themes/shared/button/button.common.scss Corrects which selected border token is applied in focused vs focused+hover states to prevent visible border/background mismatch.

@rkaraivanov rkaraivanov merged commit 7414cd7 into master May 8, 2026
7 checks passed
@rkaraivanov rkaraivanov deleted the didimmmova/fix-button-group-colors branch May 8, 2026 13:27
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.

Button Group border should be transparent in Bootstrap

4 participants