Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] iOS: theme resolution / subscription #11772

Open
luixo opened this issue Nov 22, 2024 · 0 comments
Open

[feat] iOS: theme resolution / subscription #11772

luixo opened this issue Nov 22, 2024 · 0 comments

Comments

@luixo
Copy link

luixo commented Nov 22, 2024

Describe the problem

Currently, there is no way to get current theme (color mode) on iOS.
Webview object doesn't have the same methods as desktop (and I'm not sure it react on tauri://theme-changed event, couldn't reproduce on simulator) e.g. onThemeChanged() and theme().

Describe the solution you'd like

Window should not throw Window does not exist on Mobile client / Webview should offer theme-related methods.

Alternatives considered

No "system" theme on iOS.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant