-
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
Fix item-info color #99761
base: master
Are you sure you want to change the base?
Fix item-info color #99761
Conversation
@bors r+ rollup |
📌 Commit 262a48d86c22e36d76892c5a4dce53f8ca00cc73 has been approved by It is now in the queue for this repository. |
@bors r- This is the wrong solution for #98341. The link color means something: you can click here. We should avoid creating exceptions if at all possible. The background for item-infos does not mean anything special. We can choose it to be whatever we want. The problem here is that the link color in dark theme is chosen to contrast against the dark background, so it's light. But the background for the item-info is also light - too light, in fact. See #93896. In that PR we never landed on the exact color, but that's the direction I think we should go. The text in the item info should be the same color as the body text, and the background should be just different enough from the body background to highlight it, without making it too bright. |
I completely forgot about it and I also prefer your approach. Closing this one then! |
@jsha I just realized that this fix is still valid, even though incomplete. It makes the |
That's usually not what we want. For instance: a paragraph of text might have |
Ok. I'll wait for your PR to be done and then I'll update the links' color for item info elements. |
Blocked on #93896 for the time being. |
☔ The latest upstream changes (presumably #100048) made this pull request unmergeable. Please resolve the merge conflicts. |
262a48d
to
23e957d
Compare
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha |
I uploaded the result here. |
cc @jsha (sorry, forgot to ping you) |
Hello @GuillaumeGomez! There's a merge conflict for this PR, has there been any updates? :) |
Still waiting for review. |
Part of #98341 (the final fix is #93896).
Since the links are already underlined, no need to change their color too. Instead it now uses the text color directly.
Here are some screenshots of the result:
Online demo available here.
cc @jplatte @jsha
r? @notriddle