Bug 1516654 - Port bug 1516556: Dark and Light themes should ignore Windows 10 setting for accent color when in high contrast mode. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Fri, 28 Dec 2018 17:25:58 +0100
changeset 33219 79e8da7ee32c
parent 33218 ec788f59f769
child 33220 468c27d25750
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjorgk
bugs1516654, 1516556
Bug 1516654 - Port bug 1516556: Dark and Light themes should ignore Windows 10 setting for accent color when in high contrast mode. r=jorgk
mail/themes/windows/mail/compacttheme.css
--- a/mail/themes/windows/mail/compacttheme.css
+++ b/mail/themes/windows/mail/compacttheme.css
@@ -1,15 +1,15 @@
 /* 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/. */
 
 @import url("chrome://messenger/skin/shared/compacttheme.css");
 
-@media (-moz-windows-accent-color-in-titlebar) {
+@media (-moz-windows-default-theme) and (-moz-windows-accent-color-in-titlebar) {
   :root[tabsintitlebar]:not(:-moz-window-inactive) {
     background-color: -moz-win-accentcolor;
   }
 
   :root[tabsintitlebar] .titlebar-button:not(:-moz-window-inactive) {
     stroke: -moz-win-accentcolortext;
   }