From a0352a339954beda5757d9a5fe25d6c5f5158f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Tue, 3 Oct 2023 14:18:10 +0000 Subject: [PATCH] Bug 1856398 - Import in-content vars in notification-message. r=hjones Until the other bug is fixed. Differential Revision: https://phabricator.services.mozilla.com/D189937 --- toolkit/themes/shared/in-content/common-shared.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/toolkit/themes/shared/in-content/common-shared.css b/toolkit/themes/shared/in-content/common-shared.css index 7ffff9a8726f1..cda744f007435 100644 --- a/toolkit/themes/shared/in-content/common-shared.css +++ b/toolkit/themes/shared/in-content/common-shared.css @@ -8,7 +8,10 @@ @namespace html "http://www.w3.org/1999/xhtml"; @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; -:host(.anonymous-content-host), +/* TODO(bug 1845150): Remove notification-message from the host selectors in + * this file */ + +:host(:is(.anonymous-content-host, notification-message)), :root { --in-content-page-color: rgb(21, 20, 26); --in-content-page-background: #fff; @@ -118,7 +121,7 @@ } @media (prefers-color-scheme: dark) { - :host(.anonymous-content-host), + :host(:is(.anonymous-content-host, notification-message)), :root { /* Keep these in sync with: * @@ -176,7 +179,7 @@ } @media (prefers-contrast) { - :host(.anonymous-content-host), + :host(:is(.anonymous-content-host, notification-message)), :root { --in-content-page-color: CanvasText; --in-content-page-background: Canvas;