From d297ee5c7e3f15bfaa5904676da5c8b26f453f0f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 27 Oct 2020 11:13:55 +0000 Subject: [PATCH 1/2] Fix theme variable handling with invalid values --- src/vector/jitsi/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/jitsi/index.ts b/src/vector/jitsi/index.ts index 6aeba8f7aa..a5a8be36e2 100644 --- a/src/vector/jitsi/index.ts +++ b/src/vector/jitsi/index.ts @@ -70,7 +70,7 @@ let meetApi: any; // JitsiMeetExternalAPI const theme = qsParam('theme', true); if (theme) { - document.body.classList.add(`theme-${theme}`); + document.body.classList.add(`theme-${theme.replace(" ", "_")}`); } // Set this up as early as possible because Element will be hitting it almost immediately. From be1e4552aaf288949e292c84c1b6af09a1176431 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 27 Oct 2020 11:24:52 +0000 Subject: [PATCH 2/2] fix the Jitsi bg colour to not be transparent as the app colours may be anything and bleed through --- src/vector/jitsi/index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector/jitsi/index.scss b/src/vector/jitsi/index.scss index a4ae84cacf..2c7e020c96 100644 --- a/src/vector/jitsi/index.scss +++ b/src/vector/jitsi/index.scss @@ -24,7 +24,7 @@ limitations under the License. } $dark-fg: #edf3ff; -$dark-bg: rgba(141, 151, 165, 0.2); +$dark-bg: #363c43; $light-fg: #2e2f32; $light-bg: #fff; body {