-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Make rustdoc icons more consistent #91309
Comments
At a glance, it looks to me like fontawesome's free set has alternatives for all of the sample icons! |
This comment has been minimized.
This comment has been minimized.
@rustbot claim |
Thanks for putting these proposals together!
The clipboard icon we have is actually copied from docs.rs' choice already. See e.g. https://docs.rs/crate/rustls/latest. We should keep the clipboard icon the same. cog, brush, info circle, warning triangle all look great. For "experimental" I like the flask better than the microscope (and the flask is also used on MDN, a very well-respected documentation site). Let's not change the hide/expand toggle just yet. That's such a big part of the UI it deserves separate consideration. I also started a Zulip thread to get feedback from the rustdoc team. |
Hmm, for the microscope and the thumbs-down, I kind of like that they're currently colorful. The proposed icons for those are a little intense IMO. I also agree that we should use a flask instead of a microscope if we're changing the icon. |
@camelid what do you mean when you say that the proposed thumbs-down icon is intense? I generally think of colorful things as more intense. |
My current plan (which I intend to execute on today) is this:
unicode emoji unicode
And I plan on pulling in font-awesome-as-a-crate to provide the icons. This is what docs.rs does, so this will keep us up-to-date with them. |
The proposed icon is a solid color, whereas the existing one has gradients. But I'm fine with trying the new one; we can always tweak it later. |
pinging this to see if it should be closed, or still has relevance. |
@camelid, can you assign me this issue? |
This issue is now unreleased, you can claim it if you want. |
I will open a pr soon @rustbot claim |
Here's a sample of some icons used in rustdoc:
Here are some used in docs.rs:
Here are some used on crates.io:
We should make the rustdoc icons internally consistent, and ideally consistent with related Rust sites as well. It looks like both docs.rs and crates.io are using SVGs from fontawesome's free set: https://github.com/rust-lang/docs.rs/tree/master/crates/font-awesome-as-a-crate/fontawesome-free-5.14.0-web/svgs/regular.
The text was updated successfully, but these errors were encountered: