Skip to content

Conversation

@twio142
Copy link
Contributor

@twio142 twio142 commented Oct 10, 2025

This enables @media (prefers-color-scheme: dark) in settings.theme.

When uiHost.style.colorScheme is undefined, or set to "normal", the iframe can also follow the system theme but shows an white background when switching to dark mode. Setting it to "auto" avoids this issue.

also prevents the canvas' white background when color scheme is dark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant