WalletConnect / web3modal

A single Web3 provider solution for all Wallets
https://web3modal.com
Apache License 2.0
4.67k stars 1.28k forks source link

refactor: sync theme variables with secure site #2195

Closed enesozturk closed 2 weeks ago

enesozturk commented 3 weeks ago

Changes

The secure site uses the theme variables from the web3modal version it has. But this approach is problematic. When we make changes to our theme variables over time, and if users have a web3modal version that is not the same version as the secure site's web3modal. This would create UI's with a different look inside the transaction approval screens.

This PR introduces changes to share our w3m theme variables with a secure site with a syncTheme listener and render the UI with the same variables of w3m.

See the PR on the web3modal for the required changes: https://github.com/WalletConnect/secure-web3modal/pull/122

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3modal-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 29, 2024 7:59am
web3modal-gallery ✅ Ready (Inspect) Visit Preview Apr 29, 2024 7:59am
web3modal-laboratory ✅ Ready (Inspect) Visit Preview Apr 29, 2024 7:59am
vercel[bot] commented 3 weeks ago

Deployment failed with the following error:

Too many requests - try again in 1 minute (more than 60, code: "api-deployments-flood").