Bug 1409684 - Polish d3 graphs style. r=bgrins draft
authorTim Nguyen <ntim.bugs@gmail.com>
Wed, 18 Oct 2017 18:43:11 +0100
changeset 682754 f9b1adb7923e985b13b607d755813f926bd48eab
parent 682283 13bd66ee725ea7f94c8fc48d13e8a601d149abb1
child 736416 2983895d8ae3a7c602f4175d657845de83659c39
push id85129
push userbmo:ntim.bugs@gmail.com
push dateWed, 18 Oct 2017 17:43:31 +0000
reviewersbgrins
bugs1409684
milestone58.0a1
Bug 1409684 - Polish d3 graphs style. r=bgrins MozReview-Commit-ID: FUaRBk9knBW
devtools/client/themes/memory.css
devtools/client/themes/webaudioeditor.css
--- a/devtools/client/themes/memory.css
+++ b/devtools/client/themes/memory.css
@@ -596,17 +596,17 @@ html, body, #app, #memory-tool {
 }
 
 /**
  * Dagre-D3 graphs
  */
 
 svg {
   --arrow-color: var(--theme-splitter-color);
-  --text-color: var(--theme-body-color-alt);
+  --text-color: var(--theme-body-color);
 }
 
 .theme-dark svg {
   --arrow-color: var(--theme-body-color-alt);
 }
 
 svg #arrowhead {
   /* !important is needed to override inline style */
--- a/devtools/client/themes/webaudioeditor.css
+++ b/devtools/client/themes/webaudioeditor.css
@@ -16,27 +16,28 @@
   font-size: 110%;
 }
 
 /* Context Graph */
 svg {
   overflow: hidden;
   -moz-box-flex: 1;
   --arrow-color: var(--theme-splitter-color);
-  --text-color: var(--theme-body-color-alt);
+  --text-color: var(--theme-body-color);
 }
 
 .theme-dark svg {
   --arrow-color: var(--theme-body-color-alt);
 }
 
 /* Edges in graph */
 .edgePath path {
   stroke-width: 1px;
   stroke: var(--arrow-color);
+  fill: none;
 }
 svg #arrowhead {
   /* !important is needed to override inline style */
   fill: var(--arrow-color) !important;
 }
 
 /* AudioParam connection edges */
 g.edgePath.param-connection path {