Bug 1394268 - Part 5: Set the new light theme photon color for the toolbox and sidebar tab. r=bgrins draft
authorGabriel Luong <gabriel.luong@gmail.com>
Mon, 28 Aug 2017 11:29:15 -0400
changeset 654324 597113a3dc4039bd43c36569d9d335edd6c6685b
parent 653786 7287396fcd797c5f24223651ee063b47de9647ca
child 728538 3482db21e1ffff0ff6c70c3e114ce827fea51bf7
push id76542
push userbmo:gl@mozilla.com
push dateMon, 28 Aug 2017 15:29:35 +0000
reviewersbgrins
bugs1394268
milestone57.0a1
Bug 1394268 - Part 5: Set the new light theme photon color for the toolbox and sidebar tab. r=bgrins MozReview-Commit-ID: 3g2dMSxph8N
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -3,16 +3,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 @import url("resource://devtools/client/themes/splitters.css");
 @namespace html url("http://www.w3.org/1999/xhtml");
 
 :root {
   font: message-box;
 
+  --tab-selected-text-color: var(--blue-60);
   --tab-line-hover-color: var(--grey-30);
   --tab-line-selected-color: var(--blue-50);
 }
 
 :root[platform="mac"] {
   --monospace-font-family: Menlo, monospace;
 }
 
@@ -704,16 +705,21 @@ checkbox:-moz-focusring {
   background: var(--tab-line-hover-color);
 }
 
 .devtools-tab.selected .devtools-tab-line,
 .tabs-menu-item.is-active .devtools-tab-line {
   background: var(--tab-line-selected-color);
 }
 
+.theme-light .devtools-tab.selected,
+.theme-light .tabs .tabs-menu-item.is-active {
+  color: var(--tab-selected-text-color);
+}
+
 /* Hide the tab line in the firebug theme */
 .theme-firebug .devtools-tab:hover .devtools-tab-line,
 .theme-firebug .devtools-tab.selected .devtools-tab-line,
 .theme-firebug .tabs-menu-item:hover:not(.is-active) .devtools-tab-line,
 .theme-firebug .tabs-menu-item.is-active .devtools-tab-line {
   background: transparent;
 }