-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 CSS theme for search results #102547
Migrate CSS theme for search results #102547
Conversation
Some changes occurred in HTML/CSS/JS. cc @GuillaumeGomez, @Folyd, @jsha A change occurred in the Ayu theme. cc @Cldfire |
One thing I notice here: in the light theme, the _foreground_ color for
links focused with the keyboard becomes black. For hovered links, it stays
the underlying color (depending on the type). I think both focus and hover
should have the same behavior: keep the underlying color.
This is already-existing behavior, but it became more noticeable once the
changing background color for focused links went away (which is a good
change!).
… Message ID: ***@***.***>
|
Indeed, good catch! I'll update it in the next days. |
f52eaaa
to
9ca79e2
Compare
I updated the CSS to unify hover and focus and updated the online demo. |
☔ The latest upstream changes (presumably #102627) made this pull request unmergeable. Please resolve the merge conflicts. |
9ca79e2
to
b8a63a6
Compare
Fixed the conflict. |
@bors r=notriddle,jsha rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#102441 (Suggest unwrap_or_else when a closure is given) - rust-lang#102547 (Migrate CSS theme for search results) - rust-lang#102567 (Delay evaluating lint primary message until after it would be suppressed) - rust-lang#102624 (rustdoc: remove font family CSS on `.rustdoc-toggle summary::before`) - rust-lang#102628 (Change the parameter name of From::from to `value`) - rust-lang#102637 (Ignore fuchsia on two compiler tests) - rust-lang#102639 (Improve spans when splitting multi-char operator tokens for proc macros.) Failed merges: - rust-lang#102496 (Suggest `.into()` when all other coercion suggestions fail) r? `@ghost` `@rustbot` modify labels: rollup
Part of #98460.
Just like #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.
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.