-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Improve ayu rustdoc theme #74371
Improve ayu rustdoc theme #74371
Conversation
* It makes some lines darker * It gives the crate selector and search bar a border * The search bar's border turns blue when focused * Gives the logo a bright shadow. This makes dark logos stand out more
Some changes occurred in HTML/CSS/JS. Some changes occurred in HTML/CSS themes. |
(rust_highfive has picked a reviewer for you, use r? to override) |
Can you post some screenshots before and after changes? |
@lzutao I added screenshots to the first comment. |
There's already a PR for the logo issue, so that should be removed from here: #74361 I'll take a look at the other changes later today. They look good based off of the screenshots! |
@Cldfire done! |
Looks good to me, thanks! r=lzutao and me once CI pass. |
Looks great, thanks you @Aloso! 😄 |
@bors r=GuilliameGomez rollup |
📌 Commit d08bb40 has been approved by |
🌲 The tree is currently closed for pull requests below priority 5, this pull request will be tested once the tree is reopened |
Improve ayu rustdoc theme This PR changes the following: * It makes some lines darker * It gives the crate selector and search bar a border * The search bar's border turns blue when focused * ~~Gives the logo a bright shadow.~~ For standard library crates, it would be better to invert the logo, but that would be bad for crates with a colored logo, e.g. [async-std](https://docs.rs/async-std/1.6.2/async_std/). Before: ![old](https://user-images.githubusercontent.com/15658558/87576611-ed4e0800-c6d1-11ea-9667-3924702f79e2.png) After (note that this PR no longer includes the white shadow of the logo): ![new](https://user-images.githubusercontent.com/15658558/87576621-ef17cb80-c6d1-11ea-8e15-5d7f8b180c07.png)
…arth Rollup of 8 pull requests Successful merges: - rust-lang#73101 (Resolve items for cross-crate imports relative to the original module) - rust-lang#73269 (Enable some timeouts in SGX platform) - rust-lang#74033 (Add build support for Cargo's build-std feature.) - rust-lang#74351 (Do not render unstable items for rustc doc) - rust-lang#74357 (Some `Symbol` related improvements) - rust-lang#74371 (Improve ayu rustdoc theme) - rust-lang#74386 (Add RISC-V GNU/Linux to src/tools/build-manifest as a host platform) - rust-lang#74398 (Clean up E0723 explanation) Failed merges: r? @ghost
This PR changes the following:
Gives the logo a bright shadow.For standard library crates, it would be better to invert the logo, but that would be bad for crates with a colored logo, e.g. async-std.
Before:
After (note that this PR no longer includes the white shadow of the logo):