Skip to content

rustdoc: horizontal lines are too dark for h3+ #99797

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
jsha opened this issue Jul 27, 2022 · 0 comments · Fixed by #99812
Closed

rustdoc: horizontal lines are too dark for h3+ #99797

jsha opened this issue Jul 27, 2022 · 0 comments · Fixed by #99812
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jsha
Copy link
Contributor

jsha commented Jul 27, 2022

Steps to reproduce:

  1. Run rustdoc foo.rs on the following file:
/// # Foo
/// ## Foo
/// ### Bar
/// #### Baz
pub fn blah(){}
  1. Open doc/foo/fn.blah.html in a browser (in light mode).

Expected results: all horizontal lines under headings have the same grey color.

Actual results: the horizontal line under h3, h4, and h5 is black.

image

cc @GuillaumeGomez

@jsha jsha added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-ui Area: Rustdoc UI (generated HTML) labels Jul 27, 2022
@bors bors closed this as completed in 2d52aa0 Jul 27, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant