Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Commit e620e19

Browse files
committed
fix: element call displays green accent colours
Element call is now an embedded NPM package, meaning elecord now has control over the app's frontend. Here we apply a patch to override some CSS colour variables.
1 parent d512757 commit e620e19

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
--- a/node_modules/@element-hq/element-call-embedded/dist/index.html
2+
+++ b/node_modules/@element-hq/element-call-embedded/dist/index.html
3+
@@ -1 +1 @@
4+
-<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><title>Element Call</title><script>window.global = window;</script><script type="module" crossorigin src="./assets/index-K2xIZ1TO.js"></script><link rel="stylesheet" crossorigin href="./assets/index-BtY3MdEn.css"></head><body class="no-theme"><div id="root"></div></body></html>
5+
\ No newline at end of file
6+
+<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><title>Element Call</title><script>window.global = window;</script><script type="module" crossorigin src="./assets/index-K2xIZ1TO.js"></script><link rel="stylesheet" crossorigin href="./assets/index-BtY3MdEn.css"><style type="text/css">body { --cpd-color-text-action-accent: var(--cpd-color-blue-900); --cpd-color-text-success-primary: var(--cpd-color-blue-900); --cpd-color-bg-accent-rest: var(--cpd-color-blue-900); --cpd-color-bg-accent-hovered: var(--cpd-color-blue-1000); --cpd-color-bg-accent-pressed: var(--cpd-color-blue-1100); --cpd-color-icon-accent-tertiary: var(--cpd-color-blue-800); --cpd-color-icon-accent-primary: var(--cpd-color-blue-900); --cpd-color-icon-success-primary: var(--cpd-color-blue-900);}</style></head><body class="no-theme"><div id="root"></div></body></html>
7+
\ No newline at end of file

0 commit comments

Comments
 (0)