Bug 1772018 - Tweak tooltip colors on Windows. r=dao a=pascalc
Differential Revision:
https://phabricator.services.mozilla.com/D149455
--- 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;
}