Bug 1544228 - Fix some about: pages text color contrast for GTK dark system themes r=dao
authorKestrel <ke5trel@protonmail.com>
Thu, 23 May 2019 10:44:29 +0000
changeset 475179 33f8dca276863d1cbc33511d47ba198f820400ea
parent 475178 b09e197ba5a3213026316668e89707749d5f3821
child 475180 9b58a3bb222a2aa50789bcf87627de1c8ead9fc0
push id36057
push useraciure@mozilla.com
push dateThu, 23 May 2019 21:52:03 +0000
treeherdermozilla-central@d551d37b9ad0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1544228
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1544228 - Fix some about: pages text color contrast for GTK dark system themes r=dao Some about: pages use -moz-Dialog background color which is dark with popular GTK dark themes (Adwaita-dark, Yaru-dark) so the text color needs to be set to -moz-DialogText to retain contrast. This affects about:buildconfig, about:cache, about:serviceworkers and about:credits. Differential Revision: https://phabricator.services.mozilla.com/D31414
toolkit/themes/shared/about.css
--- a/toolkit/themes/shared/about.css
+++ b/toolkit/themes/shared/about.css
@@ -1,14 +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/. */
 
 html {
   background: -moz-Dialog;
+  color: -moz-DialogText;
   padding: 0 1em;
   font: message-box;
   line-height: 1.6em;
 }
 
 body {
   position: relative;
   min-width: 330px;