Migrate sidebar links color to CSS variables and unify themes with ayu#102237
Migrate sidebar links color to CSS variables and unify themes with ayu#102237bors merged 2 commits intorust-lang:masterfrom
Conversation
|
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha A change occurred in the Ayu theme. cc @Cldfire |
|
☔ 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.currentspecific colors depending on the kind of the item behind the link. Theayutheme 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