-
Notifications
You must be signed in to change notification settings - Fork 89
feat(color-picker): replaces thumb focus outline to rounded #7378
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
Changes from all commits
29fa91d
6cd2fff
d63ba1b
6aefbc4
4fe5813
238bfea
7131ed9
8ae809d
f66d93d
ce98213
2af2d33
46cd9f6
4610739
9ea0443
3b98bc1
cb33490
57e0d3c
355c0ae
8ce2e6d
858fafa
3c98108
3d585ff
d1bc943
193c54d
51c728c
17102cd
6488636
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78,11 +78,15 @@ | |
| @apply text-n1 | ||
| focus-base | ||
| absolute | ||
| z-default; | ||
|
|
||
| z-default | ||
| rounded-full | ||
| bg-transparent | ||
| w-px | ||
| h-px | ||
| pointer-events-none; | ||
| &:focus { | ||
| @apply focus-outset; | ||
| outline-offset: 16px; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. One more thing I noticed. The design spec seems to have a 2px space between the thumb and the focus outline. The spacing in the PR screenshot looks larger than that. Maybe adjusting this to 14px can help better match that.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if we increase the spacing from 12px to 14px it will increase the gap between the thumb and outline. Thoughts @ashetland
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding @macandcheese.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I’m following, I agree it should be a 2px gap to align with other “outset focus” styles. |
||
| outline-offset: 11px; | ||
| } | ||
| } | ||
|
|
||
|
|
||
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.
✨🏆✨