-
Notifications
You must be signed in to change notification settings - Fork 198
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
Restore default colours for enums (green) and type definitions (orange-ish) #1612
Comments
@glts docs.rs is using nightly to build the docs, so this is probably a recent change to nightly. cc @GuillaumeGomez ? |
@syphar Thank you. Pity, but I will get used to it. |
I can't find the PR and issue for this change. Do you have them by any chance @jsha ? |
It was discussed in this issue and landed in this PR. @glts if you have examples of documentation pages that you find harder to read after this change, I'd be interested to take a look! There are some additional improvements I'd like to make to how slice brackets are colored; I'm curious to see if that would help with your use cases. |
Personally, I think it's a significant part of the API whether the main way to interact with a type is using |
Please open an issue on the rust repository and tag me and @jsha so we can discuss it. |
Recently docs built on docs.rs use the same purple colour for struct types, enum types, and type definitions.
Compare when building docs locally: only struct types are purple, enum types are green, and type definitions are orange.
Any reason for this change? Types in different colours are helpful when scanning signatures etc. Please revert to different colours for different types if possible.
The text was updated successfully, but these errors were encountered: