You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running rustup doc, this file is opened for me ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/doc/rust/html/index.html. I thought I'd use that file in my note taking application, which I have set to a dark theme. However the css for body in that documentation is set to have the color = #333; and the background uses the default color.
This leads to the text becoming hard to read.
I would prefer the text color not to be explicitly set, or if you insist on the dark gray text, making sure that the background color is also set to something light.
The text was updated successfully, but these errors were encountered:
ehuss
transferred this issue from rust-lang/reference
Mar 3, 2024
jieyouxu
added
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
C-bug
Category: This is a bug.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Mar 4, 2024
GuillaumeGomez
added
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
and removed
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
labels
Mar 6, 2024
…, r=notriddle
Add missing background color for top-level rust documentation page and increase contrast by setting text color to black
Fixesrust-lang#121954.
r? `@notriddle`
Rollup merge of rust-lang#122087 - GuillaumeGomez:fix-rust-index-page, r=notriddle
Add missing background color for top-level rust documentation page and increase contrast by setting text color to black
Fixesrust-lang#121954.
r? ``@notriddle``
When running
rustup doc
, this file is opened for me~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/doc/rust/html/index.html
. I thought I'd use that file in my note taking application, which I have set to a dark theme. However the css forbody
in that documentation is set to have thecolor = #333;
and the background uses the default color.This leads to the text becoming hard to read.
I would prefer the text color not to be explicitly set, or if you insist on the dark gray text, making sure that the background color is also set to something light.
The text was updated successfully, but these errors were encountered: