From 649715d09b29c76f71eb5d213d34b4108b8dcf65 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 25 Jan 2018 21:59:54 +0100 Subject: [PATCH] Fix missing rules for dark.css --- src/librustdoc/html/static/themes/dark.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index 907a6e4fcb4a..b45c3bf8e5f4 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -112,10 +112,13 @@ pre { } .content .highlighted a, .content .highlighted span { color: #eee !important; } .content .highlighted.trait { background-color: #013191; } +.content .highlighted.mod, +.content .highlighted.externcrate { background-color: #afc6e4; } .content .highlighted.mod { background-color: #803a1b; } .content .highlighted.externcrate { background-color: #396bac; } .content .highlighted.enum { background-color: #5b4e68; } .content .highlighted.struct { background-color: #194e9f; } +.content .highlighted.union { background-color: #b7bd49; } .content .highlighted.fn, .content .highlighted.method, .content .highlighted.tymethod { background-color: #4950ed; }