Merge pull request #15575 from vector-im/t3chguy/fix/jitsi

Fix Jitsi regressions with custom themes
pull/15592/head
Michael Telatynski 2020-10-27 11:38:26 +00:00 committed by GitHub
commit dda3779ad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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.