-
Notifications
You must be signed in to change notification settings - Fork 535
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
Update ActionList checkbox styles #3607
Conversation
🦋 Changeset detectedLatest commit: 0556808 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
…r/react into action-list-checkbox-style
size-limit report 📦
|
placeContent: 'center', | ||
width: 'var(--base-size-16, 16px)', | ||
backgroundColor: selected ? 'accent.fg' : 'canvas.default', | ||
transition: selected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mperrotti I could use some eyes on the transitions. I know something is off about it but I can't quite find it, and I think everything is backwards here compared to a checked
state since I'm using selected.. but fresh eyes on it will probably reveal the issue.
…r/react into action-list-checkbox-style
…r/react into action-list-checkbox-style
I feel like this should be a |
Checkbox styles for ActionList should match our Checkbox component. And that's what I did.
This is a bit of a copy/paste from Checkbox, but it doesn't totally make sense to share styles with a semantic
input
. Also, this isn't accounting for an upcoming change to makeActionMenu
use checkmarks for single and multi. This is mostly needed forSelectPanel
.Question for reviewers
Is this a minor or breaking change?
Closes https://github.com/github/primer/issues/2487
Screenshots
| Before | After |
| | |
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.