Skip to content

Commit

Permalink
Rollup merge of rust-lang#100960 - rust-lang:notriddle/ayu-span-code,…
Browse files Browse the repository at this point in the history
… r=GuillaumeGomez

rustdoc: ayu code color selector more specific

According to rust-lang#100960 (comment), this selector is only really intended to apply to item info. However, it's so broad that it's hard to tell when it deliberately applies vs where it accidentally applies.
  • Loading branch information
JohnTitor authored Aug 24, 2022
2 parents d0b2295 + 5bac3d7 commit 688bdbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/css/themes/ayu.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ h4 {
.docblock pre > code, pre > code {
color: #e6e1cf;
}
span code {
.item-info code {
color: #e6e1cf;
}
.docblock a > code {
Expand Down

0 comments on commit 688bdbd

Please sign in to comment.