Bug 1400297 - Increase color contrast for JSON Viewer and Netmonitor headers. draft
authorOriol Brufau <oriol-bugzilla@hotmail.com>
Mon, 02 Oct 2017 18:31:16 +0200
changeset 673450 6054b227a074a65552f1e987b6bb0ee906dd379e
parent 671089 35fbf14b96a633c3f66ea13c1a163a3f3a4219b9
child 734112 7c75d21a9bf1379b67bf3af82a9fc020af5058c1
push id82586
push userbmo:oriol-bugzilla@hotmail.com
push dateMon, 02 Oct 2017 16:31:34 +0000
bugs1400297
milestone58.0a1
Bug 1400297 - Increase color contrast for JSON Viewer and Netmonitor headers. MozReview-Commit-ID: DmdzPesJEo
devtools/client/jsonview/css/headers-panel.css
devtools/client/netmonitor/src/assets/styles/netmonitor.css
--- a/devtools/client/jsonview/css/headers-panel.css
+++ b/devtools/client/jsonview/css/headers-panel.css
@@ -19,17 +19,17 @@
   padding: 10px;
 }
 
 .headersPanelBox td {
   vertical-align: bottom;
 }
 
 .headersPanelBox .netInfoHeadersGroup {
-  color: var(--theme-body-color-alt);
+  color: var(--theme-toolbar-color);
   margin-bottom: 10px;
   border-bottom: 1px solid var(--theme-splitter-color);
   padding-top: 8px;
   padding-bottom: 4px;
   font-weight: bold;
   -moz-user-select: none;
 }
 
--- a/devtools/client/netmonitor/src/assets/styles/netmonitor.css
+++ b/devtools/client/netmonitor/src/assets/styles/netmonitor.css
@@ -898,17 +898,17 @@ body,
 
 .tree-container .treeTable .tree-section > * {
   vertical-align: middle;
 }
 
 .tree-container .treeTable .treeRow.tree-section > .treeLabelCell > .treeLabel,
 .tree-container .treeTable .treeRow.tree-section > .treeLabelCell > .treeLabel:hover,
 .tree-container .treeTable .treeRow.tree-section > .treeValueCell:not(:hover) * {
-  color: var(--theme-body-color-alt);
+  color: var(--theme-toolbar-color);
 }
 
 .tree-container .treeTable .treeValueCell {
   /* FIXME: Make value cell can be reduced to shorter width */
   max-width: 0;
   padding-inline-end: 5px;
 }