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

Rustdoc: button text does not respect color themes #82548

Closed
LeSeulArtichaut opened this issue Feb 26, 2021 · 1 comment · Fixed by #82549
Closed

Rustdoc: button text does not respect color themes #82548

LeSeulArtichaut opened this issue Feb 26, 2021 · 1 comment · Fixed by #82549
Labels
A-rustdoc-themes Area: Themes for HTML pages generated by rustdoc C-bug Category: This is a bug. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@LeSeulArtichaut
Copy link
Contributor

LeSeulArtichaut commented Feb 26, 2021

I visited nightly-generated docs, e.g. https://doc.rust-lang.org/nightly/std/?search=a

With the dark and ayu themes, some texts appear black although they shouldn't. This includes:

  • tab buttons in searches ("in names", "in parameters", "in return types")
  • theme selection buttons, including those in the settings page

IIRC this wasn't the case yesterday, so this must have regressed in today's nightly (2021-02-26)

@LeSeulArtichaut LeSeulArtichaut added A-rustdoc-themes Area: Themes for HTML pages generated by rustdoc C-bug Category: This is a bug. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Feb 26, 2021
@rustbot rustbot added the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Feb 26, 2021
@LeSeulArtichaut
Copy link
Contributor Author

I think this might be due to #82313? cc @jyn514

@apiraino apiraino removed the I-prioritize Issue: Indicates that prioritization has been requested for this issue. label Feb 26, 2021
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this issue Feb 26, 2021
…lize-css, r=apiraino

Revert "Update normalize.css to 8.0.1"

Reverts rust-lang#82313

Fixes rust-lang#82548
Fixes rust-lang#82542

`@jsha:` I'm reverting until we can come up with a new version which is fully working.

r? `@jyn514`
@bors bors closed this as completed in 0da9b47 Feb 26, 2021
bors added a commit to rust-lang-ci/rust that referenced this issue Jun 29, 2021
…Gomez

Upgrade normalize.css to v8.0.1

Fixes rust-lang#86629, this addresses rust-lang#82548 and rust-lang#82542 with tweaks. I expect that this changes the style *slightly* but shouldn't have any major changes.
Here's some changes I observed, I'd say they all are an improvement.

<details>
<summary>Before</summary>

![before 1](https://user-images.githubusercontent.com/25030997/123854746-0fc84800-d95a-11eb-8484-ea86dfe0ae14.png)
![before 2](https://user-images.githubusercontent.com/25030997/123854754-135bcf00-d95a-11eb-8cca-f49994629e08.png)

</details>

<details>
<summary>After</summary>

![after 1](https://user-images.githubusercontent.com/25030997/123854809-21115480-d95a-11eb-9dd2-0d3b9ca45edd.png)
![after 2](https://user-images.githubusercontent.com/25030997/123854818-22428180-d95a-11eb-83aa-fb5a698124f9.png)

</details>

r? `@jsha`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-themes Area: Themes for HTML pages generated by rustdoc C-bug Category: This is a bug. regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. 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.

3 participants