Skip to content

Commit

Permalink
- fix: added color scheme to fix white iframe in dark mode (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
agallardol authored Oct 30, 2023
1 parent 9dfcf27 commit 5a7b4c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/shinkai-visor/src/components/popup/popup-embeder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5a7b4c3

Please sign in to comment.