Skip to content
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

[High Contrast Mode] Markdown, highlighting, misc text fixes #8219

Merged
merged 8 commits into from
Dec 11, 2024

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Dec 11, 2024

Summary

Note

This PR merges into a feature branch.

EuiMarkdown had some misc cleanup while here, and I opinionatedly changed the borders of its default tables/blockquotes/hr's etc to use our existing border color token. All other changes are either relatively straightforward or documented in git commits.

QA

General checklist

  • Browser QA
    • Checked in both light and dark modes
    • Checked in both MacOS and Windows high contrast modes
    • Checked in Chrome, Safari, Edge, and Firefox
    • Checked for accessibility including keyboard-only and screenreader modes
      - [ ] Checked in mobile
  • Docs site QA - N/A
  • Code quality checklist
    - [ ] Added or updated jest and cypress tests
  • Release checklist - N/A, feature branch
  • Designer checklist - N/A

- get noisy diffs out of the way
- simplify default to just use border color token

- tweak subdued color, leave rest alone
- particularly noticeable with high contrast borders
- render bottom border for column variant in high contrast mode

- do not render bottom border for non-clickable elements - it's confusing for windows high contrast

- add more VRT
+ update VRT screenshots - looks like just aliasing changes
@kibanamachine
Copy link

Preview staging links for this PR:

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

@cee-chen cee-chen marked this pull request as ready for review December 11, 2024 03:58
@cee-chen cee-chen requested a review from a team as a code owner December 11, 2024 03:58
@cee-chen
Copy link
Contributor Author

@mgadewoll With your comments answered, is this PR approved/good to merge, or are you still QAing/reviewing?

Copy link
Contributor

@mgadewoll mgadewoll left a comment

Choose a reason for hiding this comment

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

🚢 🐈‍⬛ Thanks for the additional explanations! Everything worked as expected, code LGTM 👍

@cee-chen cee-chen merged commit 4317dff into elastic:high-contrast-mode Dec 11, 2024
5 checks passed
@cee-chen cee-chen deleted the high-contrast-mode-7 branch December 11, 2024 17:08
@cee-chen cee-chen mentioned this pull request Dec 12, 2024
10 tasks
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.

4 participants