Skip to content

Commit 9a78489

Browse files
authored
Fix heading colours in Ayu theme
Closes #87828 The issue seems to stem from #87210 where code headings were changed from a heading containing code to a heading with the `code-header` class. `rustdoc.css` was updated, but `ayu.css` was missed.
1 parent c4c2986 commit 9a78489

File tree

1 file changed

+1
-1
lines changed
  • src/librustdoc/html/static/css/themes

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/css/themes/ayu.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ h4 {
3737
.docblock code {
3838
color: #ffb454;
3939
}
40-
h3 > code, h4 > code, h5 > code {
40+
.code-header {
4141
color: #e6e1cf;
4242
}
4343
pre > code {

0 commit comments

Comments
 (0)