Skip to content

[Amsterdam] Added rounded corners to inline EuiCode - #3599

Merged
cchaos merged 6 commits into
elastic:masterfrom
hbharding:rounded-corners-inline-code
Jun 12, 2020
Merged

cchaos merged 6 commits into
elastic:masterfrom
hbharding:rounded-corners-inline-code

Conversation

@hbharding

@hbharding hbharding commented Jun 11, 2020 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

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

@cchaos cchaos left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

@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