about summary refs log tree commit diff
path: root/compiler/rustc_graphviz/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_graphviz/src/lib.rs')
-rw-r--r--compiler/rustc_graphviz/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_graphviz/src/lib.rs b/compiler/rustc_graphviz/src/lib.rs
index d332466160c..9653ff022f1 100644
--- a/compiler/rustc_graphviz/src/lib.rs
+++ b/compiler/rustc_graphviz/src/lib.rs
@@ -643,6 +643,7 @@ where
     }
     if options.contains(&RenderOption::DarkTheme) {
         graph_attrs.push(r#"bgcolor="black""#);
+        graph_attrs.push(r#"fontcolor="white""#);
         content_attrs.push(r#"color="white""#);
         content_attrs.push(r#"fontcolor="white""#);
     }