Skip to content

fix(material/chips): strengthen edit/remove icons focus/hover styling #31759

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 1 commit into from
Aug 25, 2025

Conversation

adolgachev
Copy link
Contributor

@adolgachev adolgachev commented Aug 22, 2025

Fixes b/286103414 by doubling the opacity of the edit and remove icons when they are focused and hovered, to provide more contrast against the chip which has the same opacity added on focus/hover.

Note: making the change in m3-chip to keep the stronger (calculated) opacity as replaceable while also using the same base opacity. Since the latter is a variable, had to use calc there as well.

@adolgachev adolgachev added Accessibility This issue is related to accessibility (a11y) target: minor This PR is targeted for the next minor release dev-app preview When applied, previews of the dev-app are deployed to Firebase action: review The PR is still awaiting reviews from at least one requested reviewer action: global presubmit The PR is in need of a google3 global presubmit requires: TGP This PR requires a passing TGP before merging is allowed docs: preview When applied, a preview of the documentation site is deployed to Firebase labels Aug 22, 2025
@adolgachev adolgachev marked this pull request as ready for review August 22, 2025 03:56
@adolgachev adolgachev requested a review from a team as a code owner August 22, 2025 03:56
@adolgachev adolgachev requested review from andrewseguin and wagnermaciel and removed request for a team August 22, 2025 03:56
Copy link

github-actions bot commented Aug 22, 2025

Deployed dev-app for 1d5ca15 to: https://ng-dev-previews-comp--pr-angular-components-31759-dev-61xov1fi.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

Copy link

github-actions bot commented Aug 22, 2025

Deployed docs-preview for 1d5ca15 to: https://ng-dev-previews-comp--pr-angular-components-31759-docs-6rzp9mji.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

@adolgachev adolgachev force-pushed the chips-icon-focus branch 2 times, most recently from 070397b to d0db71f Compare August 22, 2025 04:14
@adolgachev adolgachev added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer action: global presubmit The PR is in need of a google3 global presubmit labels Aug 25, 2025
@adolgachev adolgachev merged commit 3479633 into angular:main Aug 25, 2025
22 of 25 checks passed
@adolgachev adolgachev deleted the chips-icon-focus branch August 25, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility This issue is related to accessibility (a11y) action: merge The PR is ready for merge by the caretaker area: material/chips dev-app preview When applied, previews of the dev-app are deployed to Firebase docs: preview When applied, a preview of the documentation site is deployed to Firebase requires: TGP This PR requires a passing TGP before merging is allowed target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants