about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-08-11 22:52:56 +0200
committerGitHub <noreply@github.com>2022-08-11 22:52:56 +0200
commit8bbb54adfc85d584ddf75977f17933f8b59fba35 (patch)
treeb6ed58cf3d4d98de234853e23e97149c58ac2903 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent20ffea6938b5839c390252e07940b99e3b6a889a (diff)
parent20cc5f9e9a7f48d72552765fd71f69824da781c3 (diff)
downloadrust-8bbb54adfc85d584ddf75977f17933f8b59fba35.tar.gz
rust-8bbb54adfc85d584ddf75977f17933f8b59fba35.zip
Rollup merge of #93896 - jsha:dark-colors, r=GuillaumeGomez
rustdoc: make item-infos dimmer on dark theme

Previously the item-info background colors were too bright for a dark theme, making a bright rectangle that draws the attention.

Demo:

https://rustdoc.crud.net/jsha/dark-colors/std/os/linux/process/struct.PidFd.html
https://rustdoc.crud.net/jsha/dark-colors/std/error/trait.Error.html#method.description

Before:

<img width=300 src="https://user-images.githubusercontent.com/220205/153565049-f35ee83e-181d-491c-b2af-7cce1baa4912.png">

After:

<img width=300 src="https://user-images.githubusercontent.com/220205/181166727-b4218e96-daf1-46cd-a2df-5fd870eaa857.png">

r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions