Unable to style the connect button in the Svelte web example
612crypto opened this issue · 1 comments
612crypto commented
I am using the Svelte web example as a starting point. I am trying to style the connect button, but I can't seem to figure it out.
I tried using the themeVariables
option found here. I added this to the code in /src/lib/web3modal.ts
, but it doesn't seem to have any effect (the button remains the default blue).
createWeb3Modal({
wagmiConfig,
projectId,
themeMode: 'dark',
themeVariables: {
'--wcm-font-family': 'Roboto, sans-serif',
'--wcm-accent-color': '#FFD700'
}
featuredWalletIds: [],
enableAnalytics: true,
customWallets
})
Any ideas?
glitch-txs commented
This is an issue in the Web3Modal SDK, please open an issue there