-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Migrate sidebar links color to CSS variables and unify themes with ayu #102237
Conversation
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha A change occurred in the Ayu theme. cc @Cldfire |
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.
The code changes look fine to me, but I’d like confirmation from @jsha before going ahead with the appearance changes.
☔ The latest upstream changes (presumably #102331) made this pull request unmergeable. Please resolve the merge conflicts. |
The appearance change sounds good / looks good to me. 👍🏻 |
Awesome! Fix the merge conflict, then r=me |
* Remove specific color handling for ".current" items in the sidebar.
def6ea8
to
461c316
Compare
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (277bb66): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
…earch-result, r=notriddle,jsha Migrate CSS theme for search results Part of rust-lang#98460. Just like rust-lang#102237, I unified theme to how the `ayu` handles this one: only one color for the background when search results are focused or hovered. You can test it [here](https://rustdoc.crud.net/imperio/migrate-css-theme-search-result/lib2/index.html?search=coo). cc `@jsha` r? `@notriddle` PS: The repetition in GUI tests is getting out of hand so I opened GuillaumeGomez/browser-UI-test#363 to think about adding possibility to declare functions so we can greatly improve this.
Part of #98460.
This PR does two things:
a.current
specific colors depending on the kind of the item behind the link. Theayu
theme was already doing it this way and I think it makes much more sense like this.You can test it here by hovering other module's items in the sidebar (or check the selector
a.current
).cc @jsha
r? @notriddle