-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Ayu theme: Use different background color for Run button #74501
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Some changes occurred in HTML/CSS/JS. Some changes occurred in HTML/CSS themes. |
I copy the rule from #74371. |
Good idea! I agree that the run button should have a backing to make it easily recognizable. I don't like the outline, though. It feels very out-of-place. I would prefer it if we went with something like this: a.test-arrow {
font-size: 100%;
color: #788797;
border-radius: 4px;
background-color: rgba(57,175,215,0.09);
}
a.test-arrow:hover {
background-color: rgba(57,175,215,0.368);
color: #c5c5c5;
} Which looks like: This is also more in line with what the existing themes do, and it works better on mobile aspect ratios: The outline approach makes this even harder to read. |
Co-authored-by: Cldfire <cldfire@3grid.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Thanks! @bors: r+ rollup |
📌 Commit 0eff3d5 has been approved by |
…arth Rollup of 13 pull requests Successful merges: - rust-lang#72714 (Fix debug assertion in typeck) - rust-lang#73197 (Impl Default for ranges) - rust-lang#73323 (wf: check foreign fn decls for well-formedness) - rust-lang#74051 (disallow non-static lifetimes in const generics) - rust-lang#74376 (test caching opt_const_param_of on disc) - rust-lang#74501 (Ayu theme: Use different background color for Run button) - rust-lang#74505 (Fix search input focus in ayu theme) - rust-lang#74522 (Update sanitizer docs) - rust-lang#74546 (Fix duplicate maybe_uninit_extra attribute) - rust-lang#74552 (Stabilize TAU constant.) - rust-lang#74555 (Improve "important traits" popup display on mobile) - rust-lang#74557 (Fix an ICE on an invalid `binding @ ...` in a tuple struct pattern) - rust-lang#74561 (update backtrace-rs) Failed merges: r? @ghost
Make it clearer that there is a button Run there.
Demo in #74501 (comment) .