-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fix blurry breadcrumb text #959
Fix blurry breadcrumb text #959
Conversation
Signed-off-by: Matt Provost <provomat@amazon.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
font-weight: $ouiFontWeightMedium; | ||
} | ||
|
||
.ouiBreadcrumb--collapsed { | ||
flex-shrink: 0; | ||
color: $ouiBreadcrumbCollapsedLink; |
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.
More link finagling (#624)
This looks much better, and thanks for taking a pass at using 'primary' color for the breadcrumb treatment! I am wondering if #938 will help improve the presentation even further? One note I have is that the keyboard highlight is very tight around the text in the collapsed state - however I don't consider this a blocker to the PR for these reasons:
|
I don't think so. The only place where $ouiBreadcrumbTextColor: makeHighContrastColor($ouiTextSubduedColor, $ouiBreadcrumbGrayBackground) !default; |
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.
Awesome @BSFishy , looks like a great fix! I just have some minor suggestions about variable names.
CHANGELOG.md
Outdated
@@ -15,6 +15,8 @@ | |||
|
|||
### 🐛 Bug Fixes | |||
|
|||
- Fix blurry text in breadcrumbs ([#959](https://github.com/opensearch-project/oui/pull/959)) |
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.
- Fix blurry text in breadcrumbs ([#959](https://github.com/opensearch-project/oui/pull/959)) | |
- Fix blurry text in breadcrumbs by avoiding skewing text ([#959](https://github.com/opensearch-project/oui/pull/959)) |
Signed-off-by: Matt Provost <provomat@amazon.com>
* Fix blurry breadcrumb text Signed-off-by: Matt Provost <provomat@amazon.com> * Update changelog Signed-off-by: Matt Provost <provomat@amazon.com> * Address reviews Signed-off-by: Matt Provost <provomat@amazon.com> --------- Signed-off-by: Matt Provost <provomat@amazon.com> (cherry picked from commit fe979c3) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
* Fix blurry breadcrumb text Signed-off-by: Matt Provost <provomat@amazon.com> * Update changelog Signed-off-by: Matt Provost <provomat@amazon.com> * Address reviews Signed-off-by: Matt Provost <provomat@amazon.com> --------- Signed-off-by: Matt Provost <provomat@amazon.com> (cherry picked from commit fe979c3) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Fix blurry text in breadcrumbs by using
:before
pseudoelement. Also took this opportunity to make breadcrumb colors come from theme. All accessibility checks pass.Current light
Current dark
Next light
Next dark
Issues Resolved
Mostly/completely fixes #902
Check List
yarn lint
yarn test-unit
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.