From e4dad94cba6885866c1e1263baa2e2ee16426ec4 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Mon, 3 Jul 2023 16:27:18 +0530 Subject: [PATCH] portico: Define variable for modal background color. The CSS for modals uses "--color-background-color" to set background color of modal. But the variable is defined in zulip.css which is not available for portico pages and thus the email visibility modal was not rendering as expected in "Terms of service" page. This commit defines the "--color-background-color" variable in portico.css such that it is available for portico pages as well. --- web/styles/portico/portico.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css index 48ad7f0e50..8aae573d9d 100644 --- a/web/styles/portico/portico.css +++ b/web/styles/portico/portico.css @@ -1,3 +1,7 @@ +:root { + --color-background-modal: hsl(0deg 0% 98%); +} + body { background-color: hsl(0deg 0% 98%); font-family: "Source Sans 3", sans-serif;