-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ResizableBox: Change tooltip background to match other tooltips #42800
ResizableBox: Change tooltip background to match other tooltips #42800
Conversation
Size Change: +170 B (0%) Total Size: 1.26 MB
ℹ️ View Unchanged
|
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.
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.
Thanks for following up @aaronrobertshaw, good to get this consistent!
Double-checked that the COLORS.gray[ 900 ]
matches $gray-900
used in the Tooltip component 👍, and it's looking good in the editor:
LGTM ✨
Nice one. I wonder: should the tooltip sit in a consistent place too? They're useful for both cover and spacer, but isn't clear to me why one is fixed and the other is floating. |
Related:
What?
ResizableBox
to match the primaryTooltip
component and others such as theRangeControl
.Why?
Consistency is good?
This addresses a suggestion that arose through the review of #23522. We can easily close this if there is a design rationale to have differing background colors for tooltips.
How?
ResizableBox
tooltip's background color to the sameCOLORS.gray[ 900 ]
value as theTooltip
component.Testing Instructions
Tooltip
,RangeControl
etc.Screenshots or screencast
Storybook Examples
Screen.Recording.2022-07-29.at.4.56.58.pm.mp4
Screen.Recording.2022-07-29.at.4.57.33.pm.mp4
Editor Demo
Screen.Recording.2022-07-29.at.5.19.10.pm.mp4
Screen.Recording.2022-07-29.at.5.11.08.pm.mp4