-
Notifications
You must be signed in to change notification settings - Fork 841
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
[Amsterdam] Use rounded corners and bolder titles for EuiCallout #3557
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_3557/ |
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.
LGTM 👍
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.
Seems to also be missing the changelog entry. Maybe forgot to push?
As a side-note, we recommend when creating PR's to fork the Repo and create a branch in your own fork. It helps maintain cleanliness in the master EUI repo.
// Amsterdam Callouts use rounded corners by default, but we don't want to use them here | ||
.euiFlyoutBody__banner .euiCallOut { | ||
border-radius: 0; | ||
} |
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.
I think this one can be added to the default theme. It won't really have an effect, but then it doesn't require an "override".
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.
Good point, will add this.
Preview documentation changes for this PR: https://eui.elastic.co/pr_3557/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3557/ |
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.
LGTM, just had a few nits that I'll commit for you directly
Preview documentation changes for this PR: https://eui.elastic.co/pr_3557/ |
Summary
Initial PR to update the styles for EuiCallout, per discussions we've been having in Figma.
What changed:
Things to address in a different PR:
onClose
prop which conditionally renders across
icon in the top right to dismiss the callout21px
but should be24px
.Screenshots
"Before" screenshots
I made sure that EuiFlyout banners don't use rounded corners. Are there any other places like this I'm unaware of?

Checklist
- [ ] Props have proper autodocs- [ ] Added documentation examples- [ ] Added or updated jest tests- [ ] Checked for accessibility including keyboard-only and screenreader modes