From d80415a3bf0990efa9618273d30bb2c6d23b6f43 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sat, 5 Sep 2020 21:08:35 +0800 Subject: [PATCH] Improve ayu doc source line number contrast Improve contrast of foreground line number. --- src/librustdoc/html/static/themes/ayu.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/librustdoc/html/static/themes/ayu.css b/src/librustdoc/html/static/themes/ayu.css index b4571018270..ba79c16afd2 100644 --- a/src/librustdoc/html/static/themes/ayu.css +++ b/src/librustdoc/html/static/themes/ayu.css @@ -129,9 +129,10 @@ pre { color: #ffb44c; } -.line-numbers span { color: #5c6773ab; } +.line-numbers span { color: #5c6773; } .line-numbers .line-highlighted { - background-color: rgba(255, 236, 164, 0.06) !important; + color: #708090; + background-color: rgba(255, 236, 164, 0.06); padding-right: 4px; border-right: 1px solid #ffb44c; }