about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-01-25 21:59:54 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-02-08 10:53:09 +0100
commit649715d09b29c76f71eb5d213d34b4108b8dcf65 (patch)
treeeeaee5b682ef0490fb41f02a4c6534a899949bb8
parentb44b033bf1a8f74f190854048616ca90db21319e (diff)
downloadrust-649715d09b29c76f71eb5d213d34b4108b8dcf65.tar.gz
rust-649715d09b29c76f71eb5d213d34b4108b8dcf65.zip
Fix missing rules for dark.css
-rw-r--r--src/librustdoc/html/static/themes/dark.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css
index 907a6e4fcb4..b45c3bf8e5f 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; }