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

Left navbar md-nav__link is now colored like .md-nav__link--passed #4841

Closed
4 tasks done
dr-br opened this issue Jan 9, 2023 · 2 comments
Closed
4 tasks done

Left navbar md-nav__link is now colored like .md-nav__link--passed #4841

dr-br opened this issue Jan 9, 2023 · 2 comments
Labels
resolved by customization Issue can be solved through customization

Comments

@dr-br
Copy link

dr-br commented Jan 9, 2023

Bug description

Since mkdocs-material-9.0.3 the font in the left navbar is colored grayish instead of black. For me that looks wrong. mkdocs-material-9.0.2 is OK.

The change seems to stem from here (main.6b71719e.min.css):

.md-nav__link--passed, .md-nav__link[for] {
    color: var(--md-default-fg-color--light);
}

Is that a bug or a feature?
Thanks!

grafik

Reproduction

  • python -m venv venv && source venv/bin/activate && pip install --upgrade pip && pip install mkdocs-material==9.0.3
  • mkdocs serve

Before submitting

@squidfunk
Copy link
Owner

First of all, this bug report is incomplete, as it doesn't include a reproduction. Please read our new bug reporting guide, which explains precisely how to create a reproduction. Second of all, this is a feature, not a bug, implemented in #4832.

If you don't like the new appearance, change it back with 3 lines of CSS:

.md-nav__link[for] {
  color: var(--md-default-fg-color);
}

@squidfunk squidfunk added the resolved by config change Issue can be mitigated by the reporter label Jan 9, 2023
@dr-br
Copy link
Author

dr-br commented Jan 9, 2023

OK, thanks for the quick reply!
I see that #4832 (comment) already noticed the same thing.
I would therefore close #4841

@dr-br dr-br closed this as completed Jan 9, 2023
@squidfunk squidfunk added resolved by customization Issue can be solved through customization and removed resolved by config change Issue can be mitigated by the reporter labels Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved by customization Issue can be solved through customization
Projects
None yet
Development

No branches or pull requests

2 participants