Skip to content

v5: Docs nav updates#29125

Merged
XhmikosR merged 6 commits intomasterfrom
docs-nav-updates
Jul 25, 2019
Merged

v5: Docs nav updates#29125
XhmikosR merged 6 commits intomasterfrom
docs-nav-updates

Conversation

@mdo
Copy link
Member

@mdo mdo commented Jul 24, 2019

  • Slightly improves navbar link color contrast (still need to do better, will explore tweaking the new purple)
  • Moves subnav styles into new _subnav.scss
  • Renames _nav.scss to _navbar.scss for docs styles
  • Restores height and overflow-y for sidebar scrolling

@XhmikosR Didn't want to push to your docs PR, but if you want, I can cherry-pick and move it over.

mdo added 2 commits July 24, 2019 10:01
- _navbar.scss for all main navbar code
- new _subnav.scss to move all subnav styles into
@mdo mdo marked this pull request as ready for review July 25, 2019 05:31
@mdo mdo requested a review from a team as a code owner July 25, 2019 05:31
@MartijnCuppens
Copy link
Member

The white on purple contrast looks ok:
https://webaim.org/resources/contrastchecker/?fcolor=FFFFFF&bcolor=7952B3

But the rgba(255, 255, 255, .75) on purple contrast still seems to have insufficient contrast:
https://webaim.org/resources/contrastchecker/?fcolor=E0D7ED&bcolor=7952B3

Copy link
Member

@MartijnCuppens MartijnCuppens left a comment

Choose a reason for hiding this comment

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

The color contrast looks ok now: https://webaim.org/resources/contrastchecker/?fcolor=ECE7F4&bcolor=7952B3

Also, removing the alignment of the sidebar looks ok now.

@XhmikosR
Copy link
Member

XhmikosR commented Jul 25, 2019

Actually, there's just one small issue: the hover color on the sidebar links looks bad.

@XhmikosR XhmikosR merged commit 172d580 into master Jul 25, 2019
@XhmikosR XhmikosR deleted the docs-nav-updates branch July 25, 2019 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants