Skip to content

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

Closed

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions