mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-08 14:02:40 +02:00
Merge pull request #15577 from vector-im/t3chguy/fix/jitsi-cherry-pick
[Release] Fix Jitsi regressions with custom themes
This commit is contained in:
commit
ce44cbb2dc
@ -24,7 +24,7 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
$dark-fg: #edf3ff;
|
$dark-fg: #edf3ff;
|
||||||
$dark-bg: rgba(141, 151, 165, 0.2);
|
$dark-bg: #363c43;
|
||||||
$light-fg: #2e2f32;
|
$light-fg: #2e2f32;
|
||||||
$light-bg: #fff;
|
$light-bg: #fff;
|
||||||
body {
|
body {
|
||||||
|
@ -70,7 +70,7 @@ let meetApi: any; // JitsiMeetExternalAPI
|
|||||||
const theme = qsParam('theme', true);
|
const theme = qsParam('theme', true);
|
||||||
|
|
||||||
if (theme) {
|
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.
|
// Set this up as early as possible because Element will be hitting it almost immediately.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user