Skip to content

fixes #16647: navigation contrast issues updated #16750

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

Conversation

andrewgormley
Copy link
Contributor

@andrewgormley andrewgormley commented Jun 27, 2024

Fixes: #16647

PR fixes issues outlined in #16647

  • (Navigation) Low contrast for side navigation sub-menu sub-headers [dark, global]
  • (Breadcrumbs) Low contrast on dark mode [dark, multiple]
  • (Misc) Low contrast on dark tabular menu text [dark, multiple]
  • (Misc) Low contrast in-line hyperlink [light, single]

The above also required new color variables to be added in-line with the new brand guidelines. Please be aware that I have changed the primary color in keeping with the new colors which was required by one of the tasks above, this has affected other parts of the UI but everything looks as expected.

@andrewgormley andrewgormley self-assigned this Jun 27, 2024
@jeremystretch jeremystretch added this to the v4.1 milestone Jun 30, 2024
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

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

Thanks @andrewgormley!

I have one minor concern regarding the submenu headings in the navigation menu: At first glance it feels difficult to distinguish the headings from the link items as they're very similar in color.

screenshot

This is actually something I struggled with during the initial UI overhaul in v4.0. Any suggestions for making them stand out a bit? Maybe we could color them teal?

@@ -36,11 +36,55 @@ pre {
}

table a {
// Adjust table anchor link contrast as not enough contrast in dark mode
filter: brightness(110%);
color: $dark-teal;
Copy link
Member

Choose a reason for hiding this comment

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

I'm pretty sure we can remove this section; the link color should already be set to $dark-teal.

Comment on lines +47 to +56
// Side navigation
.navbar-vertical {
background-color: $rich-black;
.dropdown-item {
color: white!important;
}
.text-secondary {
color: $gray-400!important;
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Let's move these to transitional/_navigation.scss just to keep all these tweaks in one place.

@jeremystretch
Copy link
Member

Closing this in favor of PR #16759, which includes all the changes herein.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants