Skip to content

Commit

Permalink
rustdoc: ayu code color selector more specific
Browse files Browse the repository at this point in the history
According to #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
notriddle committed Aug 24, 2022
1 parent 4a24f08 commit 5bac3d7
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 5bac3d7

Please sign in to comment.