Skip to content

Ayu theme code color is off in stable rustdoc #87828

Closed

Description

Rustdoc back in 1.48.0: https://doc.rust-lang.org/1.48.0/std/io/struct.BufReader.html#method.new

Screen Shot 2021-08-06 at 2 39 37 PM

Rustdoc today on stable: https://doc.rust-lang.org/stable/std/io/struct.BufReader.html#method.new

Screen Shot 2021-08-06 at 2 39 58 PM

Note how the code color has gone from a soft white to a hard white, making Ayu more glaring and less enjoyable to read.

Looking at the HTML in 1.48.0:

Screen Shot 2021-08-06 at 2 40 49 PM

It got changed at some point, current stable:

Screen Shot 2021-08-06 at 2 41 11 PM

The CSS rule that's supposed to be applying here is:

Screen Shot 2021-08-06 at 2 41 27 PM

So that will need to be adjusted for the HTML change.

I'm not going to have time to fix this for at least a couple of weeks, so if someone else has the time to submit a PR for this, please do 🙂.

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

Metadata

Assignees

Labels

A-rustdoc-themesArea: Themes for HTML pages generated by rustdocC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions