From 0cc79a94471d4b12caad8e29dfbedba0149aae02 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 27 Feb 2023 18:19:50 +0100 Subject: properly apply configured theme everywheere --- client-web/source/index.ts | 8 -------- 1 file changed, 8 deletions(-) (limited to 'client-web/source') diff --git a/client-web/source/index.ts b/client-web/source/index.ts index 83f1dfc..c92ca2b 100644 --- a/client-web/source/index.ts +++ b/client-web/source/index.ts @@ -79,14 +79,6 @@ export async function main() { username: config.webrtc.turn_user, }] } - if (config.appearance) { - document.body.style.setProperty("--ac", config.appearance.accent) - document.body.style.setProperty("--ac-dark", config.appearance.accent_dark) - document.body.style.setProperty("--ac-light", config.appearance.accent_light) - document.body.style.setProperty("--bg", config.appearance.background) - document.body.style.setProperty("--bg-dark", config.appearance.background_dark) - - } r = new Room(conn, rtc_config) -- cgit v1.2.3-70-g09d2