Skip to content

Conversation

@hbharding
Copy link
Contributor

@hbharding hbharding commented Jun 11, 2020

Summary

Small PR for EUI Amsterdam theme that adds rounded corners to inline versions of EuiCodeBlock. It is a very subtle change, but gives it a little more personality. I opted not to use $euiBorderRadius (6px) and instead used $euiSizeXS (4px) because the larger radius made the shape look too much like a pill.

Screenshot

image

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in IE11 and Firefox
  • [ ] Props have proper autodocs
  • [ ] Added documentation
  • [ ] Checked Code Sandbox works for the any docs examples
  • [ ] Added or updated jest tests
  • [ ] Checked for breaking changes and labeled appropriately
  • [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@hbharding hbharding self-assigned this Jun 11, 2020
@hbharding hbharding requested a review from cchaos June 11, 2020 20:21
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3599/

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3599/

@hbharding hbharding requested a review from cchaos June 12, 2020 14:24
Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

Code & visual LGTM 🎉

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3599/

@cchaos cchaos changed the title added rounded corners to inline code [Amsterdam] Added rounded corners to inline EuiCode Jun 12, 2020
@cchaos cchaos merged commit 1259952 into elastic:master Jun 12, 2020
@hbharding hbharding deleted the rounded-corners-inline-code branch September 24, 2020 18:04
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.

3 participants