-
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
Changed color of struct link from #ff794d to #2dbfb8 for Rust docs #47806
Conversation
Some changes occurred in HTML/CSS. |
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @GuillaumeGomez (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
All struct are red colored, even in doc examples. I'm not sure this is a very good idea to change it... Also, red doesn't mean that a resource isn't available. At least I don't feel it like this... |
@GuillaumeGomez, @QuietMisdreavus, |
This is what the currently proposed colours look like: @GuillaumeGomez would you be fine with changing the colour to some hue that is less far away from red? e.g. something like or |
Note, there is precedent for changing the colour already. We quite recently changed the lightness of many link colours to make them darker. |
The orange seems fine. However, it's more of a personal taste here. Also, it'll be need to be changed in the dark theme as well (which wasn't the case in this PR). |
The PR does change the dark theme.
…On Jan 29, 2018 11:21 AM, "Guillaume Gomez" ***@***.***> wrote:
The orange seems fine. However, it's more of a personal taste here. Also,
it'll be need to be changed in the dark theme as well (which wasn't the
case in this PR).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#47806 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AApc0sugYbr610a-goBR6_bNuPJVtdhsks5tPY2qgaJpZM4RvWHE>
.
|
It puts the same color than in the main theme. Seems strange that two different themes get one color in common. Maybe it renders just fine, but seems weird. |
As-is, the proposed color is too light in the main theme. If you want to keep the teal for it, change the |
@QuietMisdreavus would not #1b7e6e look much similar to color or |
I guess so. I think the pink color in @nagisa's comment is good - the orange seems like it might be too light, and might also be too close to the existing orange of type aliases. |
@QuietMisdreavus @GuillaumeGomez @nagisa Pink look good on white theme. Pushed code change as well. |
@nagisa's pink is Note that foreign type uses a similar pink already (The new code uses |
Not orange then? 😢 |
Current color of type alias is already orange Nagisa's orange is |
Damn. I found the red really good enough, that's too bad... |
@GuillaumeGomez ping! What's the status of this PR? |
We still need to have a consensus over the color. |
Nominating to docs team in this case 😛 Current choices on table:
Existing colors:
|
@QuietMisdreavus @kennytm @GuillaumeGomez @nagisa what next? |
@PramodBisht As linked from rust-docs/team#5, it is on doc team's agenda in the coming meeting in 9 hours (Feb 13th, 20:00 UTC). You may join the IRC channel |
We talked about it in the docs team meeting today, and the inclination is to merge. In the future, we may want to change structs, enums, and unions to have similar colors, but that's a big change, and fixing the immediate issue is better than bogging down this PR in sorting that out. @PramodBisht thank you so much! @bors: r+ rollup |
📌 Commit 434bfb1 has been approved by |
…labnik Changed color of struct link from #ff794d to #2dbfb8 for Rust docs This is in reference to rust-lang#47801 here I have changed the default color of struct link for `#ff794d` to `#2dbfb8` cc: @nagisa @timClicks
This is in reference to #47801
here I have changed the default color of struct link for
#ff794d
to#2dbfb8
cc: @nagisa @timClicks