Bug 1409684 - Polish d3 graphs style. r=bgrins
MozReview-Commit-ID: FUaRBk9knBW
--- 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 {