Bug 1503301 - Set tab_line property for Light and Dark themes. r=ntim, a=RyanVM
authorDão Gottwald <dao@mozilla.com>
Wed, 31 Oct 2018 12:04:08 +0000
changeset 500987 6099d57303a51b53735b2a81131cfc19dc8c1953
parent 500986 ba949aea60af0f625e690b684d2a81ed2ebc7457
child 500988 8a28169fa91dbde370d47bd91bc1b0c91f89cacf
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim, RyanVM
bugs1503301
milestone64.0
Bug 1503301 - Set tab_line property for Light and Dark themes. r=ntim, a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D10345
browser/components/nsBrowserGlue.js
browser/themes/shared/compacttheme.inc.css
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -1027,32 +1027,34 @@ BrowserGlue.prototype = {
       name: gBrowserBundle.GetStringFromName("lightTheme.name"),
       description: gBrowserBundle.GetStringFromName("lightTheme.description"),
       iconURL: "resource:///chrome/browser/content/browser/defaultthemes/light.icon.svg",
       textcolor: "black",
       accentcolor: "white",
       popup: "#fff",
       popup_text: "#0c0c0d",
       popup_border: "#ccc",
+      tab_line: "#0a84ff",
       toolbarColor: "#f5f6f7",
       toolbar_bottom_separator: "#ccc",
       toolbar_field: "#fff",
       toolbar_field_border: "#ccc",
       author: vendorShortName,
     });
     LightweightThemeManager.addBuiltInTheme({
       id: "firefox-compact-dark@mozilla.org",
       name: gBrowserBundle.GetStringFromName("darkTheme.name"),
       description: gBrowserBundle.GetStringFromName("darkTheme.description"),
       iconURL: "resource:///chrome/browser/content/browser/defaultthemes/dark.icon.svg",
       textcolor: "white",
       accentcolor: "black",
       popup: "#4a4a4f",
       popup_text: "rgb(249, 249, 250)",
       popup_border: "#27272b",
+      tab_line: "#0a84ff",
       toolbarColor: "hsl(240, 1%, 20%)",
       toolbar_bottom_separator: "hsl(240, 5%, 5%)",
       toolbar_field: "rgb(71, 71, 73)",
       toolbar_field_border: "rgba(249, 249, 250, 0.2)",
       toolbar_field_separator: "#5F6670",
       toolbar_field_text: "rgb(249, 249, 250)",
       ntp_background: "#2A2A2E",
       ntp_text: "rgb(249, 249, 250)",
--- a/browser/themes/shared/compacttheme.inc.css
+++ b/browser/themes/shared/compacttheme.inc.css
@@ -26,20 +26,16 @@
   --autocomplete-popup-highlight-background: #0060DF;
 }
 
 :root:-moz-lwtheme-darktext {
   --chrome-background-color: #E3E4E6;
   --chrome-color: #18191a;
 }
 
-#tabbrowser-tabs:-moz-lwtheme {
-  --tab-line-color: #0a84ff;
-}
-
 /* Change the base colors for the browser chrome */
 
 #TabsToolbar,
 #navigator-toolbox {
   background-color: var(--chrome-background-color);
   color: var(--chrome-color);
 }