Bug 1772018 - Tweak tooltip colors on Windows. r=dao a=pascalc FIREFOX_102_0_1_BUILD1 FIREFOX_102_0_1_RELEASE
authorEmilio Cobos Álvarez <emilio@crisal.io>
Fri, 17 Jun 2022 10:01:41 +0000 (2022-06-17)
changeset 694695 a7294bfb43712ab3225c76087cd359a22ea8fa7d
parent 694694 3b2fd74316964ed645571641c39093055128164a
child 694696 d88e3dd9e94e7eb984988ea0a621fb05c405cd09
push id2889
push userpchevrel@mozilla.com
push dateTue, 05 Jul 2022 09:38:20 +0000 (2022-07-05)
treeherdermozilla-release@a7294bfb4371 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, pascalc
bugs1772018
milestone102.0.1
Bug 1772018 - Tweak tooltip colors on Windows. r=dao a=pascalc Differential Revision: https://phabricator.services.mozilla.com/D149455
toolkit/themes/windows/global/tooltip.css
--- a/toolkit/themes/windows/global/tooltip.css
+++ b/toolkit/themes/windows/global/tooltip.css
@@ -15,29 +15,26 @@ tooltip {
   max-width: 40em;
   background-color: InfoBackground;
   color: InfoText;
   font: message-box;
 }
 
 @media (-moz-windows-default-theme) {
   tooltip {
-    /* These are the same colors as --menu-background-color and co., but we
-       can't quite use them because the default tooltip is native anonymous and
-       doesn't inherit from the root. */
     background-color: #f9f9fb;
-    color: #15141a;
-    border-color: #cfcfd8;
+    color: black;
+    border-color: #67676c;
     border-radius: 4px;
   }
 
   @media (prefers-color-scheme: dark) {
     tooltip {
       background-color: #2b2a33;
-      color: #fbfbfe;
-      border-color: #5b5b66;
+      color: white;
+      border-color: #f9f9fb;
     }
   }
 }
 
 tooltip:not([position]) {
   margin-top: 21px;
 }