Skip to content

Commit

Permalink
Bug 1856398 - Import in-content vars in notification-message. r=hjones
Browse files Browse the repository at this point in the history
Until the other bug is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D189937
  • Loading branch information
emilio committed Oct 3, 2023
1 parent b1ec598 commit a0352a3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions toolkit/themes/shared/in-content/common-shared.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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:
*
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit a0352a3

Please sign in to comment.