Bug 1577591 - [Light theme] Set theme colors for the trees on Linux and Windows too. r=aleca,darktrojan a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Mon, 09 Sep 2019 17:46:06 +0200
changeset 79081 f1fc5fb31f6d9d3fe96df16b6ea56e30d6631493
parent 79080 d2ee9009f6cbf6dcbf5282cfb3d1494160b4659b
child 79082 320773f8d2b66ef08e74f1439bd1bc7bb43060c9
push id9345
push userkaie@kuix.de
push dateFri, 20 Sep 2019 05:14:40 +0000
treeherdertry-comm-central@b9101c33b5e5 [default view] [failures only]
reviewersaleca, darktrojan, jorgk
bugs1577591
Bug 1577591 - [Light theme] Set theme colors for the trees on Linux and Windows too. r=aleca,darktrojan a=jorgk
calendar/base/themes/common/calendar-views.css
mail/themes/addons/light/manifest.json
mail/themes/addons/light/moz.build
--- a/calendar/base/themes/common/calendar-views.css
+++ b/calendar/base/themes/common/calendar-views.css
@@ -897,27 +897,37 @@ agenda-richlist-item[status="CANCELLED"]
     text-decoration: line-through;
 }
 
 /* Navigation controls for the views */
 #view-deck {
     border: solid ThreeDShadow;
 }
 
+:root[lwt-tree] #view-deck {
+    background-color: var(--sidebar-background-color);
+    border-color: var(--sidebar-border-color);
+    scrollbar-color: rgba(128,128,128,.5) rgba(230,230,235,.5);
+}
+
+:root[lwt-tree-brighttext] #view-deck {
+    scrollbar-color: rgba(249,249,250,.4) rgba(20,20,25,.3);
+}
+
 .navigation-inner-box {
     border-bottom: 1px solid var(--calview-border-bottom-color);
 }
 
 .navigation-spacer-box {
     min-width: 15px;
     border-bottom: 1px solid var(--calview-border-bottom-color);
 }
 
 radiogroup#view-tabs{
-    margin: 0px;
+    margin: 0;
 }
 
 radio.calview {
     -moz-appearance: none;
     min-width: unset;
     border-left: 1px solid var(--calview-border-color);
     border-right: 1px solid var(--calview-border-color);
     border-bottom: 1px solid var(--calview-border-bottom-color);
--- a/mail/themes/addons/light/manifest.json
+++ b/mail/themes/addons/light/manifest.json
@@ -18,16 +18,25 @@
     "colors": {
       "tab_background_text": "rgb(24, 25, 26)",
       "icons": "rgb(24, 25, 26, 0.7)",
       "frame": "#E3E4E6",
       "popup": "#fff",
       "popup_text": "#0c0c0d",
       "popup_border": "#ccc",
       "tab_line": "#0a84ff",
+#ifndef XP_MACOSX
+      "sidebar": "#fff",
+      "sidebar_text": "#000",
+      "sidebar_border": "#888",
+      "sidebar_highlight": "#2292d0",
+      "sidebar_highlight_text": "#fff",
+      "toolbar_field_separator": "#ccc",
+      "toolbar_field_text": "rgb(24, 25, 26)",
+#endif
       "toolbar": "#f5f6f7",
       "toolbar_bottom_separator": "#ccc",
       "toolbar_field": "#fff",
       "toolbar_field_border": "#ccc"
     }
   },
 
   "theme_experiment": {
--- a/mail/themes/addons/light/moz.build
+++ b/mail/themes/addons/light/moz.build
@@ -2,10 +2,13 @@
 # vim: set filetype=python:
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 EXTRA_JS_MODULES.themes['light'] += [
     'experiment.css',
     'icon.svg',
+]
+
+EXTRA_PP_JS_MODULES.themes['light'] += [
     'manifest.json',
 ]