Skip to content
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

feat(tile): only show chevron on selection #5667

Merged

Conversation

joshblack
Copy link
Contributor

Closes #5174

Update selection tiles (multi select and radio) to only display the chevron on selection instead of on selection and hover.

Changelog

New

Changed

  • Only display selection arrow on selection instead of selection and hover

Removed

@joshblack joshblack requested a review from a team as a code owner March 19, 2020 21:28
@ghost ghost requested review from asudoh and tw15egan March 19, 2020 21:28
@joshblack joshblack requested review from laurenmrice, asudoh and tw15egan and removed request for asudoh and tw15egan March 19, 2020 21:29
@joshblack joshblack mentioned this pull request Mar 19, 2020
82 tasks
@netlify
Copy link

netlify bot commented Mar 19, 2020

Deploy preview for carbon-elements ready!

Built with commit 7b2334f

https://deploy-preview-5667--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Mar 19, 2020

Deploy preview for carbon-components-react ready!

Built with commit 7b2334f

https://deploy-preview-5667--carbon-components-react.netlify.com

Copy link
Member

@laurenmrice laurenmrice left a comment

Choose a reason for hiding this comment

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

Border: The border for selected state needs to call ui-05 so it will work across themes. The dark themes have lower contrast right now.

Checkmark icon: For the light themes they need to have a white inner fill for the check. For the dark themes they need to have a black inner fill. To help accessibility.

@joshblack
Copy link
Contributor Author

@laurenmrice updated!

Copy link
Member

@laurenmrice laurenmrice left a comment

Choose a reason for hiding this comment

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

looks good 🙌🏻

Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

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

LGTM 👍 - Thanks @joshblack!

@joshblack joshblack merged commit 43460a4 into carbon-design-system:master Apr 6, 2020
@joshblack joshblack deleted the 5174-update-selected-state branch April 6, 2020 23:41
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.

[SelectableTile]: selected state almost not distinguishable when in focus
5 participants