Skip to content

fix(button): use proper colors for the button states in the ionic theme #30339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Apr 11, 2025

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Apr 4, 2025

Issue number: internal


What is the current behavior?

The focused and hover states are appearing as an overlay of the contrast color on the buttons.

What is the new behavior?

  • Updates hover and focus states to match Figma designs
  • Focus background should not change from the default
  • Hover background should be the shade for solid buttons, and use neutral subtlest for clear and outline buttons
  • Updates the clear button to use the new foreground variant

Does this introduce a breaking change?

  • Yes
  • No

Other information

Basic Preview
Clear Preview

Copy link

vercel bot commented Apr 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 11, 2025 5:57pm

@github-actions github-actions bot added the package: core @ionic/core package label Apr 4, 2025
@brandyscarney brandyscarney marked this pull request as ready for review April 7, 2025 18:16
@brandyscarney brandyscarney requested a review from a team as a code owner April 7, 2025 18:16
@brandyscarney brandyscarney requested review from thetaPC and removed request for a team April 7, 2025 18:16
Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM, verified that md also works when manually testing.

Base automatically changed from FW-6252 to next April 11, 2025 16:32
@brandyscarney brandyscarney merged commit 5da939d into next Apr 11, 2025
48 checks passed
@brandyscarney brandyscarney deleted the FW-6252-button branch April 11, 2025 18:15
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.

4 participants