From 9a784894eeca79f5878ff4004166d07abeaff8a2 Mon Sep 17 00:00:00 2001 From: Klim Tsoutsman <32662194+tsoutsman@users.noreply.github.com> Date: Sun, 8 Aug 2021 22:35:51 +1000 Subject: [PATCH] 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. --- src/librustdoc/html/static/css/themes/ayu.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/css/themes/ayu.css b/src/librustdoc/html/static/css/themes/ayu.css index 849924ea5501e..8dd7b2b3edc40 100644 --- a/src/librustdoc/html/static/css/themes/ayu.css +++ b/src/librustdoc/html/static/css/themes/ayu.css @@ -37,7 +37,7 @@ h4 { .docblock code { color: #ffb454; } -h3 > code, h4 > code, h5 > code { +.code-header { color: #e6e1cf; } pre > code {