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 34073 79e8da7ee32ce64824c4b692f124f6dbdcd6016c
parent 34072 ec788f59f7697f702c90cd77277570d63481d985
child 34074 468c27d25750ad1a11533c953e61b62ec280eebb
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
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;
   }