From 5a7b4c3c443ac22131c5151eb0c5d03fb19faef9 Mon Sep 17 00:00:00 2001 From: Alfredo Gallardo Date: Mon, 30 Oct 2023 10:30:04 -0300 Subject: [PATCH] - fix: added color scheme to fix white iframe in dark mode (#59) --- apps/shinkai-visor/src/components/popup/popup-embeder.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/shinkai-visor/src/components/popup/popup-embeder.ts b/apps/shinkai-visor/src/components/popup/popup-embeder.ts index d8f97ae27..ab32a4378 100644 --- a/apps/shinkai-visor/src/components/popup/popup-embeder.ts +++ b/apps/shinkai-visor/src/components/popup/popup-embeder.ts @@ -19,6 +19,7 @@ iframe.setAttribute('src', chrome.runtime.getURL('src/components/popup/popup.htm iframe.style.border = 'none'; iframe.style.width = '100%'; iframe.style.height = '100%'; +iframe.style.colorScheme = 'only light'; const shadow = baseContainer.attachShadow({ mode: 'open' }); shadow.appendChild(iframe);