summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-01 08:14:25 +0000
committerbors <bors@rust-lang.org>2022-10-01 08:14:25 +0000
commit277bb6653b55475b5fbce6309e9852fa2100dabe (patch)
treef680824d0b6c9d44b184d2761679dc625734771f /compiler/rustc_codegen_llvm/src/context.rs
parentde341fe668fd821f701ca970c897d167104f0a17 (diff)
parent461c31642d906c3e3bb7403fc9ecbdf21da4a330 (diff)
downloadrust-277bb6653b55475b5fbce6309e9852fa2100dabe.tar.gz
rust-277bb6653b55475b5fbce6309e9852fa2100dabe.zip
Auto merge of #102237 - GuillaumeGomez:sidebar-links-color, r=notriddle
Migrate sidebar links color to CSS variables and unify themes with ayu

Part of https://github.com/rust-lang/rust/pull/98460.

This PR does two things:
 1. Migrate more theme CSS rules toward CSS variables.
 2. Remove `a.current` specific colors depending on the kind of the item behind the link. The `ayu` theme was already doing it this way and I think it makes much more sense like this.

You can test it [here](https://rustdoc.crud.net/imperio/sidebar-links-color/lib2/struct.Foo.html) by hovering other module's items in the sidebar (or check the selector `a.current`).

cc `@jsha`
r? `@notriddle`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions